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

learn more… | top users | synonyms (2)

-5
votes
3answers
52 views

How to open a directory contains “-”? [closed]

How can I open a directory via PUTTY that contains -? For example the name of dir is: some-thing-dir cd /some-thing-dir not working.
4
votes
3answers
3k views

Is there a hard limit to the number of files a directory can have? [duplicate]

Wondering if there is a limit to the number of files that can be stored inside a directory, in CentOS 6. There is one particular directory which could potentially have millions of subdirectories. ...
7
votes
3answers
5k views

compare 2 directories and copy differences in a 3rd directory

Running ubuntu 12.04, I want to compare 2 directories, say folder1/ and folder2/ and copy any files that are different to folder3/. There are also nested files, so matching subdirectories should be ...
0
votes
1answer
41 views

Accessing files using folder name and ~folder name

When I try to access a folder: cd "c:\users\myname\google drive\apache-tomcat-7.0.25" it works fine. However when I try: cd C:\Users\myname\GOOGLE~1\apache-tomcat-7.0.25 it doesn't (folder not ...
0
votes
3answers
453 views

Can't start MYSQL after changing directories

So I started running out of space on my linux hard disk. I added another hard drive and now I want to change the MySQL directories. So instead of saving the data into the old hard drive, it saves it ...
1
vote
1answer
271 views

Apache 2.2 Ldap Authantication error 500 - AuthLDAPURL

I have an Apache server on RHEL 6 that uses our active directory for authentication, We added a new "LocationMatch" AuthLDAPURL ...
3
votes
2answers
401 views

How to “cd” to non utf8 directory

How can I change directory to directory that name consists of non ASCII default characters? root@senior:/media/data/hudba/# ls . -l total 3096 -rwxr-xr-x 2 user users 3160192 Jul 31 2006 Lucie ...
0
votes
1answer
113 views

Sharing folders with other user on Ubuntu 12.04

I have recently set up a server on Ubuntu 12.04 . I have an mail server hosted on the same server. Now, there are a number of users with email id at my domain who can ssh to my server to see the ...
0
votes
1answer
37 views

Linux directory moved

a directory was moved with mv command in a Linux box, what logs should be looked at for such action? in root bash_history i can see the command was used, unfortunatly bash_history was not recording ...
2
votes
0answers
152 views

windows 2008 r2 Change owner on multiple folders

I've a quest to change the owner on about 800 folders. The owner should be equal to the folder name. I've tried something like this: set /p userDir=username ICACLS "D:\test\%userDir%" /setowner ...
0
votes
3answers
2k views

Local login script to delete folder of currently logged in user

How can I create a login script that will delete the contents of the folder below, each time a user logs off of a PC? (We have a shared PC that about a dozen users use, for a particular program. That ...
0
votes
1answer
152 views

500 Error when using Apache Directory Directive

I am trying to restrict access to certain directories to certain IP's.... I have done some research & the below is what I came up with, however it returns a 500 internal server error when I try ...
1
vote
0answers
81 views

htaccess, mod_rewrite, remove part from URL

I want to access domain.com/api/(.*) instead of domain.com/public/api/(.*) Directory structure: domain.com __folder1 __folder2 __public ____api ______.htaccess2 ____afolder1 ____afolder2 ...
0
votes
1answer
189 views

Rewrite certain URL in Nginx such that another app will serve it

I have a config file for mydomain.com which is served with Drupal. Problem is this rewrite rule takes the control over any request: if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 ...
0
votes
4answers
594 views

Copy files from one server to another with same permissions

Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server. I don't need to keep group and owner id's same but ...
0
votes
1answer
213 views

Apache serve files with NTFS permissions?

I hope I came to the right sub for this question. Basically here is the scenario: You have folder name Testfolder which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
1answer
63 views

SBS 2008 Redirection visibility issues - want to move off SBS 2008

I inherited an SBS2008 server which had a corrupt or otherwise lost userid which was used to setup redirects, etc. I was able to break in by enabling the Administrator ID and resetting the password. ...
0
votes
1answer
83 views

Issue with Apache folder and file permissions

I hope I came to the right sub for this question. Basically here is the scenario: You have folder name Testfolder which is hosted on Apache. Test folder has files that only certain users on the ...
0
votes
3answers
66 views

Apache folder and file permissions

I hope I came to the right site for this question. Basically here is the scenario You have folder name "Testfolder" which is hosted on Apache. Test folder has files that only certain users on the ...
2
votes
1answer
2k 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
78 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 ...
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 ...
0
votes
2answers
65 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 ...
0
votes
2answers
168 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 ...
1
vote
1answer
106 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 ...
5
votes
4answers
7k views

NTFS Permissions for root share that houses Home Directories Windows Server 2008 R2

I am using the AD Profile Tab to Auto create Home Directories at \server\home so the permissions are automatically created. What should the permissions (NTFS) be for the actual folder that the home ...
1
vote
0answers
123 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, ...
0
votes
3answers
533 views

Monitoring folder diffs across servers with zabbix

Problem: I want to make sure that a certain folder is equal regarding it's contents across my servers. I do not want an automatic filesync to keep them equal, changing is done manually. My initial ...
0
votes
1answer
56 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
101 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
742 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 ...
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
278 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
671 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 ...
0
votes
1answer
478 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
3answers
114 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 ...
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 ...
0
votes
1answer
56 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
478 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. ...
0
votes
3answers
93 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
638 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 ...
3
votes
3answers
2k views

Apache VirtualHost Proxy with a Subdirectory

Currently, we have an IIS server as our primary web server. We are implementing an Apache server in its place, but still need to have the IIS server accessible. Typically, this is a simple thing, ...
2
votes
2answers
8k 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 ...
1
vote
2answers
549 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 ...
1
vote
2answers
644 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 ...
0
votes
2answers
76 views

Windows Explorer defaultly showed attributes [closed]

Which folder artibutes does the Windows Explorer hide?
0
votes
1answer
253 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
97 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
83 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 ...
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). ...