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
1answer
2k views

Percona server won't restar after datadir change

I installed percona from percona repository on a ubuntu 12.04 server which has a solid state drive. I thought i would rather put the datadir on the Solid state drive and put partition on normal sata ...
-1
votes
1answer
79 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
101 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
48 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 ...
4
votes
1answer
3k 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
70 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
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
176 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
131 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
12k 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
174 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
725 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
65 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
121 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
939 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 ...
0
votes
2answers
931 views

Changing Data directory in MariaDB

I have a doubt : Is mariadb support datadirectory location change from the default location to the another user defined location ? When Iam trying to change datadir location of mariadb by ...
1
vote
1answer
54 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
306 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 : ...
1
vote
1answer
833 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
763 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
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 ...
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
37 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
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
796 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
233 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
113 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
769 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
4k 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, ...
4
votes
2answers
11k 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
662 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
797 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
80 views

Windows Explorer defaultly showed attributes [closed]

Which folder artibutes does the Windows Explorer hide?
0
votes
1answer
269 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
129 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
86 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). ...
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; ...
1
vote
1answer
82 views

Best way to introduce a new 2008R2 Domain Controller into a Domain to replace an existing 2003 DC

This should be an easy one for some of you guys with DC and AD experience. I am introducing a new DC running 2008R2 to replace a DC I have running 2003. I have run through all the set up and I have ...
1
vote
1answer
61 views

Remote I/O costs with a Content Delivery Network

As far as I know, the time complexity of scanning a directory and the amount of files in said directory are correlated due to I/O costs. Would the administrative costs of placing the files in a hashed ...
2
votes
1answer
193 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 ...
2
votes
0answers
36 views

Re-adding users profile into new DC/AD server

Need some advice. It is related with my question last week. "Could I create new DC/AD from fresh installation in new machine then I do adding all users information (username and password) based on ...
2
votes
2answers
1k views

linux shell script: how to move all sub folders with a given name?

I'd like to move all sub-folders starting with a given suffix (Blah_ in the example) into an other directory using a linux bash script. Here's what the script looks like: srcDir="/home/me/" ...
2
votes
1answer
106 views

Apache issue with VirtualHosts

I am setting up a small website in-place on the production server. While we are finalizing all the settings for the final domain we've located it on dev.domain.com, so that our visitors don't see a ...
1
vote
3answers
2k views

Sync files and folders in windows with commands

I am a Linux user. I am looking for a command line tool for Widows(2008 R2) for files & folders synchronization. I am looking for a tool like rsync in Linux. I have to synchronize between two ...
1
vote
3answers
159 views

Linux / CentOS - Need to set R/W only permissions for future directories

I have very little background in Linux of any type, so I'm completely firing off the hip to begin with. I have been asked by the boss to set up an FTP server based on CentOS. So far, things have ...
1
vote
2answers
279 views

postfix sort mails using a cronjob

My mailserver consists of dovecot and postfix. I am receiving alot of mails from different mailing lists. These mails should directly go into my inbox when they come in, because it is easier to ...
1
vote
1answer
318 views

Sharing folder with 10m+ files on win xp takes hours to set access rights [closed]

I try to share whole partition in windows xp. On this partition are 10+ milion files. Windows sets access rights to each of them and it has been doining that for last 12 hours and hasn't yet finished. ...