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

learn more… | top users | synonyms (3)

0
votes
4answers
1k views

Any decent open source link/directory managers out there?

I maintain a site with a crusty old version of "Links" by Gossamer Threads. It's written in perl, gets 99.99% of its submissions from bots, and is just plain out-dated. Now, I realize that Gossamer ...
1
vote
2answers
248 views

cd to a directory when its path is entered as a command (instead of “foo is a directory” error)

I hate when bash gives me "duh!" kind of error: foo$ ./bar -bash: ./bar: is a directory I used to love AmigaOS shell in which "execution" of a directory simply meant setting it as the current ...
8
votes
7answers
25k views

How do you handle “CMD does not support UNC paths as current directories”?

I am attempting to change directories to a file server such as: cd \\someServer\\someStuff\ However, I get the following error: CMD does not support UNC paths as current directories What ...
3
votes
2answers
2k views

Force apache to server different directories on different ports?

For example, say I have my htdocs in: ~/public_html and those documents are being served on port 80. Is there any way to make apache server documents in: ~/public_html/something on a different ...
10
votes
5answers
350 views

How do I change to the directory I just moved that file to?

So lets assume I've just done: mv ./myfile /to/some/other/place/ And I now decide I want to follow the file, and go into that directory. Whilst I could head for the mouse, select the text, type ...
1
vote
3answers
3k views

Point domain name to subdirectory with .htaccess

I have a server under one main domain, and I want to point another domain to /example/index.php to make another site. Is there anyway i can do this with .htaccess? cheers
28
votes
2answers
23k views

Add directory structure to SVN, without files

Is there a way to add a directory structure to an SVN repository without adding the files contained in the folders?
8
votes
9answers
11k views

How to solve linux subdirectories number limit?

I have a website which will store user profile images. Each image is stored in a directory (Linux) specific to the user. Currently I have a customer base of 30+, which means I will have 30+ folders. ...
5
votes
2answers
7k views

How to count all subfolders in an directory?

How can I count how many folders (including subfolders) I have under an specific folder?
35
votes
2answers
15k views

How to keep the full path with rsync?

When backing up with rsync, How do I keep the full directory structure? For example, the remote server is saturn, and I want to backup saturn's /home/udi/files/pictures to a local directory named ...
0
votes
1answer
149 views

How do you set a directory's default file?

Can I configure one specific directory on my webserver to use an atypical default file such as "default.php" instead of "index.php"? Do I have to create a ".htaccess" file in that dir?
7
votes
5answers
8k views

Windows: How to delete files with a too long name?

I have a problem with delete, I would like to delete some folder which contains a number of files, and I am getting an error like: Cannot delete Folder: The file name you specified is not valid ...
0
votes
4answers
251 views

Windows Server Folder Replication

I have two servers using MS NLB for IIS and this is working great. I have a D:\Websites\ directory on both servers that contain the html, css, aspx, and images etc. I would like to have the ...
16
votes
5answers
25k views

How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?

I'm trying to use the Linux find command to find all directories and sub-directories that do not have .svn (Subversion hidden folders) in their path. I can only get it to exclude the actual .svn ...
4
votes
7answers
3k views

Is there a folder size tool for linux? (web-based or working on console) [closed]

I have a debian server which has a lot of user folders and I would like to have a tool like FolderSize application in Mac, where i can check the filesystem by filetype or foldersize (or whatever ...
7
votes
3answers
5k views

Un-tar a specific directory inside of a tar

I have the Wordpress tar, latest.tar.gz. Within it is the following structure /wordpress/dirtories/files When I do the following command I would prefer if I could have it unpack starting at ...
5
votes
8answers
2k views

Linux Recursive Delete Keeping The First Dir

First question here, I'm usually on StackOverflow. I need to delete all the contents of a directory, but not the directory itself as I don't have permission to delete that actual directory. This ...
4
votes
6answers
11k views

search for just folders in windows explorer

Here's another dumb question. Is there a way to search in windows explorer for just folders? I know folders get sorted to the top, but I'm always looking for that extra option...
2
votes
1answer
200 views

linux: directory created with Access: (0000/d---------)

On a Linux (ubuntu) machine, an automated script running as a normal user is creating a subdirectory under its home directory. For some reason, the directory is created with Access: (0000/d---------). ...
6
votes
3answers
3k views

Fast way of knowing real directory size on linux/bsd

What is the fastest way of computing real directory size? I somehow catch myself needing that a lot. Simply doing: # du -hs /dir Is too slow. Is there any service I could run which would ...
34
votes
6answers
11k views

Meaning of directories on Unix and Unix like systems

I've been using Linux for a couple of years now but I still haven't figured out what the origin or meaning of some the directory names are on Unix and Unix like systems. E.g. what does etc stand for ...
5
votes
2answers
13k views

How do you use SCP to copy a deep directory?

I need to copy a deep directory on one windows machine over 'itself' on another windows machine. I can't seem to get the command to work correctly. The current problem is that it appears that scp is ...
5
votes
2answers
2k views

How to create union of two directories?

In case of unix/linux, is there a way to create union of two directories without copying or linking manually everything to a single directory?
3
votes
9answers
2k views

Storing files in a directory… are there limits?

I am using CentOS 5 with Plesk 9 (64-bit), I am running a site where users will be uploading pictures. With a 64 bit os, are there any limits to how many files I can store? All I care about is ...
0
votes
1answer
612 views

how to add a virtual directory on a remote machine IIS 6

We have a build script to add a Virtual Directory to an existing website running on the same server. it works fine, is it possible to add a virtual directory to a remote machine? which the user has ...
2
votes
3answers
485 views

How do I stop shortcuts following moved folders on Windows Server

If I move a folder (to temporarily stop people running programs in that folder), the desktop shortcuts they use to access those programs sometimes follow the folder. Is there any way to stop this ...
1
vote
1answer
11k views

How to write a dos batch script to create a folder structure?

I would like to be able to have a dos batch script that I could utilize to create a specific folder structure below what ever directory I may be in at any given time. The specific folder structure ...
2
votes
3answers
3k views

Is it possible to make a network drive show up as a folder?

I'm using an online backup solution that does not work with networked drives or mapped drives. Is it possible to make a network drive show up as a "regular" folder? What possible impacts could this ...