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
vote
1answer
100 views

du -sh keeps timing out!

i need to get the entire size of /storage, but using du -sh times out after about an hour! is there another way to get the entire directory size?
2
votes
1answer
1k views

Windows 7 system32 different contents depending on how its viewed

Using Windows 7 x64 Enterprise. When I view C:\windows\System32 through explorer I can see telnet.exe, if I open cmd from the start menu I can use telnet. If I open C:\windows\system32\cmd.exe via ...
22
votes
2answers
15k views

logrotating files in a directories and its subdirectories

Is it possible to get logrotate to consider logfiles in a directory and all its subdirectories? (i.e. without explicitly listing the subdirectories.)
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. ...
1
vote
1answer
54 views

How can I show more than 19 characters in file names when browsing directories in Apache?

I'm trying to browse a directory (for server logs, in this case) and I can't seem to find any way to tell Apache to show more then the first 19 characters of the filenames in the directory, followed ...
-1
votes
1answer
262 views

how i can Find the files inside the folder and save the file names in variables?

how i can write bash file to Find files (number and name of files are variable) inside the folder and save the file names in variables ?
0
votes
1answer
566 views

Nginx html folder

The files in the folder "/usr/share/nginx/html" belongs to the user "nginx" (or root ?), the primary user "2x2p1p" can't modify these files, then the best thing to do is: 1 - Change the user and the ...
0
votes
1answer
235 views

Shared folder between two Web Servers

I'm running two webservers in a single host. One of them is a Tomcat running in a reverse proxy configuration. The front webserver is a nginx that proxies request to the Tomcat. So far, is working ...
1
vote
2answers
703 views

OpenVZ file system

OpenVZ file system (simfs) has a limit of files per folder. We reached that limit and we are in trouble... Which is the best approach to this problem? Thank's in advance!
1
vote
1answer
101 views

how do i get terminal in osx to use the python version installed in /opt/local/bin rather than the one in /usr/bin

at the moment my $PATH looks like... /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin but then whereis python2.6 returns /usr/bin/python i need to use ...
7
votes
2answers
15k views

Difference between <Location> and <Directory> Apache directives

I have Zend Server installed and noticed something like the following was added to my httpd.conf file: <Location /ZendServer> Order Allow,Deny Allow from 127.0.0.1 </Location> Alias ...
0
votes
2answers
207 views

Automatic folder backup from XP to Windows Server 2003

My HR/Finance manager stores important files & records in her Win XP desktop PC and she rarely copies all her files into our file server that runs on Windows Server 2003 (the last time she did it ...
2
votes
1answer
1k views

Redirecting subsite on same domain to other IIS using HTTPS

I've seen many similar questions (and answers) on this subject, but none seem to be on exactly the same situation I am facing. Which is weird since I don't think it is that special, so forgive me if I ...
2
votes
1answer
243 views

Jail user to only read/write into their user directory

I'm running a Ubuntu server and wanted to know if there was a way to only allow a user (connecting via FTP and SSH) read and write access to their own /home/user/ directory and not let them read or ...
1
vote
1answer
207 views

Emails disappear when moving from Inbox to anywhere else

Whenever a client of mine has a message open, they click on Move To Folder and the list of recent folders comes up. That person selects a folder but the message does not appear in there. What I have ...
1
vote
1answer
2k views

How to mount a shared folder in Windows Server 2008?

How do you you mount a shared folder in Windows Server 2008. I took these steps to create it: Right click in Domain Controller window -> New -> Shared Folder. The UNC name (path) was ...
0
votes
1answer
547 views

Apache 2 .htaccess matching all sub directories of current directory

I want to disable the php engine in all directories below the current one. I have tried using <Directory> and <DirectoryMatch> but cannot find the correct regex syntax for matching just ...
0
votes
2answers
463 views

See which directory takes space without considering other mountpoints

I often find myself having to clean up some directories because they are too full. Let's take /var as an example, as it is a common one, for obvious reasons. In order to see which sub-directories ...
0
votes
1answer
713 views

How do I synchronize folder structures between outlook and the mail server?

What I am trying to do is set up my mail to synchronize over multiple locations and keep the same folder structure (synchronizing files moved between folders, and new folders...). Here is a diagram ...
1
vote
2answers
1k views

Is there a maximum limit of files per directory

If I were talking about a web hosting server, would there be a maximum limit of files per directory?
0
votes
2answers
283 views

Why does my Win Server 2003 R2 have a bunch of empty folders in the root of the D: drive, each with a different random string of numbers and letters?

On this server, I have a D: drive for data. What app could be creating empty folders such as: 9308c1f8cd5c852ef53a425e 75a2dde71d4ff73400cdb384fbbc c8ad258c663ff0632c They're created every few ...
3
votes
1answer
106 views

SQL Server Orthography

I notice that most of the Microsoft SQL Server installations have a 'Binn' folder, e.g. \Program Files\Microsoft SQL Server\80\Tools\Binn This has always bugged me. Is this merely a misspelled ...
56
votes
22answers
20k views

rm on a directory with millions of files

Background: physical server, about two years old, 7200-RPM SATA drives connected to a 3Ware RAID card, ext3 FS mounted noatime and data=ordered, not under crazy load, kernel 2.6.18-92.1.22.el5, uptime ...
0
votes
1answer
375 views

Quota settings on Folder Level

I have requirement to enforce quota settings at folder level. And this enforcement is purely based on folders and not on groups. So I may have to monitor a folder /dev1/folder1 and its subfolder ...
0
votes
1answer
663 views

How to redirect a subdomain with subfolders to a domain using the same subfolders and the subdomain itself as parameter?

So I would likte to redirect this url: http://subdomain.domain.com/subfolder/subsubfolder/ to: http://www.domain.com/subfolder/subsubfolder/?parameter=subdomain And also using other, more, less or ...
0
votes
1answer
195 views

What directories to/not backup

I'm setting up rsnapshot to backup a production LAMP server. These are the directories that currently are going to be backed up. /home /etc /usr/local /root /var What directories can I exclude ...
20
votes
6answers
22k views

How to copy file preserving directory path in Linux?

I have Eclipse projects and ".project" file in them, the directory structure looks like 'myProject/.project'. I want to copy these '.project' files to another directory, but I want the enclosing ...
1
vote
2answers
169 views

Common /home for a couple of Linux distributions

I want to learn one more Linux distribution. I'm serious and "one more" means the second one. I've been using a Linux distribution for almost a decade, I like it very much, but I want to learn ...
0
votes
3answers
159 views

get php files from Directory Listing

in my website there are PHP files that i include in other php files... they perform different tasks like connecting to my DB and various other functions... now i know the given path of my files.. so i ...
0
votes
2answers
525 views

Cygwin User/home folder non existant

I'm a novice at cygwin/linux administration so please be patient with my ignorance: I'm trying to change my .bashrc profile and setup (.gitconfig ) I can't seem to find my home folder. My hypothesis ...
0
votes
2answers
5k views

Apache: redirect subfolder to another IP in the LAN

I have webserver1 behind a router currently serving all http traffic to mydomain.com. I just added webserver2, and want to redirect mydomain.com/server2 traffic to that box. To the user, the redirect ...
0
votes
2answers
280 views

.htaccess directory nightmare

I'm on a shell, and my web folder is located at /home/w/waterfox/public_html. In there, I have a directory called irclogs, which I'm trying to password-protect. It is chmodded to 755. Here is the ...
0
votes
2answers
3k views

How do I change folder timestamps recursively?

I was wondering if anyone knows how to change the timestamps of folders recursively based on the latest timestamp found of the files in that folder. So for example: ...
0
votes
1answer
426 views

where is the php folder located in macosx?

I'm needing to modify my php config on my mac but for the life of me I can't find the files! Can anyone help me?
0
votes
3answers
1k views

FTP -> VSFTPD -> allow uploading folders

I have a Fedora FTP server that uses VSFTPD. I wanted to know how I could allow the users to upload directories and make directories. Thanks in advance.
2
votes
3answers
17k views

Apache2: How do I restrict access to a directory, but allow access to one file within it?

I've inherited a poorly designed web app, which has a certain file that needs to be publicly accessible, but that file is inside a directory which should not. In other words, I need a way to block ...
1
vote
1answer
543 views

nginx howto correct the path from a back-end server redirect response under a virtual directory

The following was my deployed servers: client ------ nginx proxy(example.com) ------ back-end server(192.168.1.20) The nginx proxy's external URL was configured under a virtual directory ...
1
vote
1answer
1k views

Used recursive chown on the root directory

Im gonna need some help restoring my ssh settings as i screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
0
votes
2answers
80 views

Redirect /directory to /directory/?

I am using a (dv) server from Media Temple, and I have wordpress installed on the root of my domain. I have a directory called support that holds a standard xhtml webpage, but if the user enters the ...
1
vote
1answer
632 views

sed can't find a file that obviously exists

I run the following command which comments out all lines that contain the text "dlclose" grep -lIR "dlclose" . | grep -v ".svn" | xargs sed -i "s/.*dlclose.*/\/\/&/g" However, sed claims that ...
4
votes
4answers
9k views

How to minimize Windows Server 2008 R2 size?

Is there a guide somewhere on how to minimize the Windows Server 2008 R2 installation folder? I am talking specifically about all the features and roles that come with the Windows Server 2008 R2 ...
8
votes
1answer
7k views

Changing MySQL data directory in Ubuntu Server 10.04

I was getting the following error when trying to change the data directory in ubuntu server 10.04. 100809 19:33:00 [Note] Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld: Can't find file: ...
3
votes
4answers
775 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 ...
0
votes
1answer
158 views

Problems with windows user account permissions

Inherited the maintenance of an existing ASP.net (C#) web based system. It is running on Windows Server 2003 with IIS 6. PDF files are generated via a background process - Omniformat. It runs as a ...
0
votes
2answers
112 views

Accidently unmounted a local folder

After that I tried to mount the folder via its full name (/var/...), but the console is saying: mount: can't find /var/xxxxxxxxx/xxxxx/xxx/ in /etc/fstab or /etc/mtab Thanks for your help, Nicolas. ...
3
votes
6answers
666 views

Need to check a directory tree for changes every 10 seconds and run a script if it is changed

I have a directory that has many folders with code inside it, and I need to run a script to rsync changes over to a couple other servers. I have that script written and working fine, but I cannot ...
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 ...
1
vote
2answers
2k views

Adminstrator receives PermissionDenied when issuing get-childitem in PowerShell

I am trying to backup a drive from a laptop that is defunct. This drive was pulled from the machine and mounted in an external enclosure and connected to a desktop via USB. Laptop that the drive was ...
6
votes
4answers
242 views

Frequently accessed files and I/O usage

I'm curious, from a performance standpoint, is there an advantage in storing all files in one directory versus having each file in a separate directory? I'm not concerned about organization. Also, ...
0
votes
2answers
2k views

Hosts file entry directed to a directory on localhost

I have a directory setup with a nice error message at http://localhost/blocked/. I'd like to direct entries in my hosts relating to sites I've blocked to that instead of just 127.0.0.1. ...