A directory, also commonly called a folder, is a filesystem object used for organizing files and other directories.

learn more… | top users | synonyms (3)

-1
votes
1answer
77 views

Get size of folder without iterating over its content? [closed]

Is there any unix file system (or network fs) that can get size of folder without iterating over its content? I need the fastest and cheapest way to get size of folder (maybe some fs cache metadata ...
2
votes
1answer
3k views

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
0
votes
1answer
84 views

Put website into a folder, don't show folder on URL, and still have access to other folders

I'm trying to host my website into a folder on the FTP, for example, /site. But on the URL i want to remove this folder, so it will be www.mysite.com.br instead of www.mysite.com.br/site. I've ...
0
votes
1answer
45 views

rsync synchronizing files only without creating folders on destination

Is it possible with rsync to not create directories on destination? MY SOURCE: a/ a/x.txt b/ b/y.txt b/c/g.txt MY WANTED DESTINATION: d/x.txt d/y.txt d/g.txt Is there any way to do this with ...
0
votes
2answers
3k views

How to make a subdomain record point to a subfolder of my website “godaddy domain manager”?

I have a dedicated server on a webhosting company "not godaddy", and I manage my domains through godaddy. I want to add a new subdomain and want this domain to point to a certain folder in my website. ...
3
votes
1answer
2k views

Apache configuration problem with <Directory> and <Location>

I'm stuck with a pretty nasty problem. I have a staging system here where only our customers and our company should have access to. This is done using the following configuration: <Directory ...
0
votes
1answer
21 views

Setting up multiple applications on one server within directory paths

I am working with node.js and I am trying to figure out a way to have a rather different server configuration. I would like to have three "apps" run. index app1 app2 Index can run on port 80, and ...
0
votes
2answers
69 views

apache -Directory directive - allow to serve selected pages

This syntax seems to prevent Apache from serving any pages from /var/www or subdirectories. <Directory "/var/www"> Allow from None Order allow,deny </Directory> I wantthis ...
4
votes
1answer
2k views

IMAP standard folder names - “Junk” or “Spam”

I am configuring spamassassin at the moment and have been wondering what is the standard (or atleast most used and recognized by most clients) folder name for Spam or Junk? I first used Spam, but ...
4
votes
2answers
10k views

Copy a whole directory structure in Chef

I have a directory structure (sample data) that I want to copy from within a Chef recipe. It seems the only way to do this is to explicitly create each individual directory and file: directory ...
0
votes
2answers
173 views

Linux workstation and Active Directory authentication

I read a few articles regarding "How to Authenticate Linux Clients with Microsoft Active Directory" My question before I do it: what will happen to Notebooks that try to login when the Active ...
5
votes
3answers
5k views

Why can't I cd into a directory?

I am running Ubuntu 10.04.2 LTS. Why I can't I cd into the /var/www directory? david@ubuntu:/var$ pwd /var david@ubuntu:/var$ ls -l drwxrwxr-- 13 root root 4096 2011-02-26 21:53 www ...
1
vote
1answer
123 views

Mod_rewrite pretty url when domain/foo is a directory

Starting with something as simple as: RewriteRule ^(.*)$ index.php?page=$1 What if I also want the following to work: RewriteRule ^/foo$ /index.php?page=foo #/foo IS a directory This seem to ...
1
vote
0answers
154 views

csvde doesn't import users

I have a small problem as I'm a server manager beginner, I installed a Domain Controller on my Windows Server 2008, and I created three OUs, now I'm trying to add users to each OU via csvde command, ...
7
votes
11answers
78k views

Windows command prompt: how to get the count of all files in current directory?

What command would you use in cmd.exe to find the number of files in the current directory? Is there a powershell option here? Update: I was hoping to avoid dir, as I know there are 10,000+ files in ...
1
vote
4answers
72 views

Directory name for non-generic Proprietary stuff

Is there a common or standard directory name for the company-specific stuff that exists in a server? This would include any crons, scripts, webserver docroots, programs, non-database storage areas, ...
1
vote
1answer
48 views

How to setup usernames for websites

I have a news server. It may be possible that there will be multiple virtual hosts on it. There are two approaches that I see around. One is to login as root and create files under /www/etc, Like; ...
0
votes
1answer
62 views

How to log access to public_html dir, served by apache?

My college kindly provides web space in form of an public_html directory. As I place content there, could I somehow monitor or log how often a given file is downloaded, and from whom? I think ...
1
vote
2answers
113 views

OID (directory service) Installation and configuration on Windows 2003 R2

I need your help in installing and configuring Oracle Internet Directory service on Windows 2003 R2 server machine, I was wondering if anyone can provide any useful tutorial links on the same. I did ...
4
votes
2answers
874 views

syncing local folders

What is a best way to keep in sync two local folders ? I know I can use rsync -Ra but I need to keep in sync all the time. Is it possible to make rsync sit in background and constantly sync local ...
-4
votes
3answers
115 views

Understanding administrator rights on a machine [closed]

As a developper I need to create a folder within a customer' server and I need to be sure that they wont be able to access that particular folder's content even if they are administrator or in any ...
1
vote
1answer
53 views

Linking domain name to subdirectory without displaying subdirectory name in address

I've got a domain name, blogdomain.com, which I've linked to otherdomain.com/blog using this .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?blogdomain.com$ RewriteRule ^(/)?$ blog ...
0
votes
1answer
297 views

Scp only a specific folder

Some command line syntax I don't know how to set, am a noob sometimes, sorry is that's obvious Let's says I have the following path for all my assets : ...
0
votes
1answer
774 views

Can I safely remove _vti folders added by my host or cpanel? [closed]

I notice user accounts on my cpanel server came with some _vti folders installed by default. _vti_bin _vti_cnf _vti_log vti_pvt _vti_txt _private As I understand these are some kind of Front Page ...
3
votes
2answers
1k views

Windows Batch folder size

I need a command (like "dir") that lists all directories with their size. I need just a 1 level deepness but with the total size of a directory. For example >dirsize c:/mainfolder subfolder1 ...
0
votes
1answer
221 views

Folder deleted on network share

We have a strange problem in our company. Sometimes it happens that a folder it's been deleted from our NAS. It's happened 2 times this month, 1 st time samba logs identified client_A, the second one ...
0
votes
1answer
642 views

Folder rights doesn't work on group, but does on user

I've got this share where I want to restrict access to two folders so that only members of a group can get access to them. I've done this countless of times, but this time there's something odd going ...
4
votes
1answer
1k views

Strategy to isolate multiple nginx ssl apps with single domain via suburi's?

Warning: so far I have only learnt how to use nginx to serve apps with their own domain and server block. But I think its time to dive a little deeper. To mitigate the need for multiple SSL ...
0
votes
1answer
35 views

Apache: Use requested directory as a parameter

Here's what I'd like to do: If a user goes to www.example.com/thislocation, I'd like to redirect to a particular script and give it "thislocation" as a parameter. So if a user navigated to ...
1
vote
1answer
213 views

Relative path incorrect in the view layer when hosting a rails3 app in a subdirectory using passenger and apache

I want to host multiple Rails apps on a multiple server using sub-directories. And have encountered some relative path problems. I have made a symbolic link to the app's public directory and placed ...
0
votes
1answer
58 views

Using ErrorDocument Directive with <directory>

I have a website which has three different directories. I want to create a custom error page for each of the different directories. What i did is as follows: <Directory "directory1"> ...
-1
votes
1answer
652 views

Cron Script to Delete Folder Contents Every 5 Minutes on Media Temple [closed]

I'm not familiar with server-side scripting, but I'm currently using a PHP application on Media Temple to cache JPEGs from four webcams hosted on a server located in the middle of the Indian Ocean. ...
1
vote
1answer
215 views

Domain mapping subdirectory to external domain

I'm running a Wordpress multisite install where the blogs are created in subdirectories - e.g. www.mydomain.com/blog1, www.mydomain.com/blog2 I need to clarify what I think is and isn't possible with ...
0
votes
3answers
104 views

Can I Set an “A Record” for a Specific Directory

I have a website, www.mysite.com My client has their site, www.clientsite.com We would like to setup where www.clientsite.com/directory shows the pages that are hosted at www.mysite.com/directory ...
4
votes
1answer
717 views

Deleting an undeletable Directory in Windows 7

I have encountered a problem from time to time but have not been able to resolve it without formatting. I have a directory called d:\DotNet that I want to delete. I cannot because inside this folder ...
1
vote
3answers
1k views

Preventing access to files if a user types the full url on the address bar

i have a website, some folders on the websites contains images and files like .pdf , .doc and .docx . the user can easly just type the address in the url to get the file or display the photo ...
1
vote
2answers
755 views

Domain to apache, subdomain or subdirectory to tomcat

I set up an Apache2.2 and Tomcat7 Windows Server. Now I would like to use the domain for the apache and a subdomain or a subdirectory for the tomcat webapps. But I don’t know how to configure the ...
22
votes
5answers
7k views

What do these abbreviations stand for?

Some directories are easy to understand the meaning /usr /bin ... But for the next ones, I have no idea. /etc /opt opt for optional? etc for electronic t...... configuration (no idea for t) I ...
1
vote
2answers
610 views

Is it necessary to include the /run directory in backups?

I use a variant of the simple script below from the Community Ubuntu Documentation described tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/sys ...
0
votes
2answers
77 views
0
votes
1answer
261 views

Robocopy to copy each source subfolder to different destination folder

I have a folder structure like this: Source C:\Data Data1_timestamp Data2_timestamp Data3_timestamp Data4_timestamp Destination D:\Data Data1 Data2 ...
1
vote
1answer
108 views

how can I set all folders to show file version at an OS level?

I'm managing a lot of dll's and one thing I have to do constantly when copying them around is to turn on the file version attribute display in the folder where my dll's are. I'd like to set this ...
2
votes
1answer
85 views

Apache Options in .htaccess file

I am using Options +FollowSymLinks -MultiViews within a .htaccess file that is stored within 1 folder above the images folders, but this causes issues for seeing the images in these directories when ...
5
votes
3answers
160 views

System to use to maintain a corporate directory

I work for a small-but-growing startup that needs a corporate directory to keep photos and contact info for the company. Eventually we'd like to maybe use this system for login credentials and the ...
3
votes
1answer
2k views

Exchange 2003 to 2010 public folder replication

I've found several guides and tutorials on public folder replication from 2003 to 2010, but am still a little bit confused. What we have, is a 2003 exchange server obviously holding all of our public ...
2
votes
3answers
1k views

What's the best way to store thousands of images in a windows folder structure?

We have hundreds of thousands of jpg images in a windows folder structure like this but it's really hard to interact and work with them in a snappy way (listing takes time, copying takes time, etc). ...
0
votes
2answers
1k views

What is the importance of the .DFSFolderLink

I am currently building a new DFS namespace setup. My folder E:\CommonStuff\ is already shared on the fileserver. And now it is also shared as \DOMAIN\CommonStuff I got 3 questions: I see ...
3
votes
4answers
774 views

Does anyone knows how to create a sybmbolic “directory” in linux?

I've tried the ln -s directory_to_use directory method, but all it does is just create a "file" that links to directory_to_use, which doesn't work when using FTP. What I'm looking for is, for ...
5
votes
3answers
4k views

Duplicate Directory with SSH

How can i duplicate a directory on my server via ssh?
2
votes
1answer
188 views

Filesize monitoring powershell script safe to run against a multiuser Access 2003 database?

I'm try to monitor the size of an MS Access Database file which corrupts when the size reaches 2GB. I found the following powershell script which monitors the size of a file, and then runs a ...