The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
3answers
202 views

tail all log files in a directory | exclude zipped files

Im trying to find the right command to tail a bunch of log files whilst excluding the zipped files in a set directory. The log files are being zipped as they become oversized. At the moment Im using: ...
1
vote
1answer
116 views

Is it possible to exclude files and folder that begin with $ from Windows 2008 R2 DFS replica?

If I replicate by DFSR users redirected folders all folders replicated have their own $RECYCLE.BIN directory and inside that directrory files are renamed as $XXXXX.YYY. I don't want to replicate them, ...
0
votes
1answer
123 views

FreeNAS - how to “Exclude from file” in Rsyncd (GUI)

I am trying to set rsync tasks to Pull user profiles from 11 Windows machines running DeltaCopy Server and then configure ZFS periodic snapshot tasks for a backup solution. So far this has been ...
-1
votes
1answer
316 views

Exclude Specific Pages From HTTP headers

I am just an html and css guy, so please forgive me if my question isn't worded correctly. I set http headers in the .htaccess file to disable caching for my site, and it works fine. But now I want to ...
2
votes
2answers
533 views

How do I write an rsync exclude for a directory tree with names containing spaces?

I'm trying to exclude a directory tree as part of an rsync command embedded in a bash script approximately like this: $OPTIONS="-rl --exclude 'Some Parent Directory/Another Directory'" rsync ...
1
vote
2answers
157 views

rsync --exclude not excluding

I'm using rsync on an Ubuntu 12.04 LTS server with the following script to back up all of /, however, whenever I run the script (as root), the directory /backup is included, when it should be ...
0
votes
3answers
122 views

input wget exclusions from a file?

i'm crawling a forum and I keep stumbling across certain threads that have been going on for ten years. i can certainly exclude these using wget option: -X ...
1
vote
1answer
132 views

How to I get rsync to exlcude a file pattern within an flock?

I have an rsync command that I run hourly via cron, and to prevent it from having multiple simultaneous rsyncs (should the previous hour's rsync still be running when the next hour comes around) I've ...
1
vote
2answers
510 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 ...
2
votes
7answers
8k views

Excluding a directory from a root .htaccess rewrite rule to allow it to be password protected?

I have spent a tremendous amount of time the last week trying to figure this out, but no matter what I try I cannot get this to work. My web host said they did not have anyone who knew enough about ...
0
votes
2answers
1k views

Nginx static files exclude one or some file extensions

I'm serving up a static site via nginx. location ~* ...
1
vote
1answer
2k views

inotifywait usage and exclude

I want to monitor special path to any event of create or modified files recursively in it via inotifywait but I don't know what's my problem is. I have some folders that I want to exclude. watchpath ...
0
votes
1answer
267 views

Robocopy exclude folders/subfolders containing a file named nobackup.txt

We backup a large directory structure but want to exclude some directories. Is it possible to exclude subfolders when the parent folder contains a file named "nobackup.txt"?
0
votes
1answer
115 views

Use tar to exclude one directory (but not another) that matches a pattern

I'm working on doing a pretty straightforward tar for a site, but there's a wrinkle. Here's the file structure of the site: ... files/ images/ images/visitors/ ... logs/ ... ...
2
votes
1answer
3k views

How to exclude a user from an applied password policy

I have received a requirement that a single user needs to be excluded from the company's password policy (the CEO if you ask). as such, I have tried the following with no success. I have copied the ...
3
votes
1answer
2k views

How to exclude certain directories while using wget?

I'd like to download a directory from a FTP, which contains some source codes. Initially, I did this: wget -r ftp://path/to/src Unfortunately, the directory itself is a result of a SVN checkout, so ...
2
votes
1answer
545 views

How can I exclude PATTERN from inotify/incron

I'm using incron to watch for events in a directory but I want to exclude some subdirectory or some filename PATTERNS. Is there a way I can do this elegantly?
0
votes
1answer
928 views

Robocopy - include subdirectories of an excluded directory

I'm using Robocoy to transfer a directory and all it's contents. I use the following command as part of a batch file to copy the directories wile ignoring the images subdirectories. ROBOCOPY ...
2
votes
4answers
4k views

Tar directory contents without parent and exclude subdirectories/files

Simplified directory structure: /root/test /root/test/dir1 /root/test/dir2 /root/test/dir3 /root/test/dir4 I want to tar /root/test so that when I extract the archive I get dir1 and dir2. I want to ...
0
votes
1answer
159 views

TAR and excluding directory files but kee directory

Noob alert: Can I exclude files in the directory "imagecache" but still make the directory a part of the TAR archive?
3
votes
1answer
788 views

Excluding the nagios directory from Basic Auth that is set for the root directory

I have basic auth from the root directory for Apache. I am setting it like so. /etc/httpd/conf.d/xxxx.conf <Location /> AuthType Basic AuthUserFile xxxxxxxx AuthName "Restricted ...
0
votes
1answer
192 views

How to handle these variables in rsync exclude file?

I have an ignore file for rsync but I can't figure out how to ignore this string of file names and the username: ...
0
votes
1answer
185 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 ...
1
vote
2answers
1k views

NetBackup exclude backup selection

I'm trying to exclude some folder from the Backup policy; what I've seen is that you can exclude some by adding a file in /usr/openv/netbackup in the client. Is there any way to excluding in the ...
2
votes
2answers
1k views

How to symlink folders and exclude certain files

I'm not a server guru (unfortunately) but have a decent knowledge of linux & bsd. I'm trying to symlink multiple instances of HLDS (game server) but need to exclude certain folders & config ...
4
votes
1answer
7k views

Apache ProxyPass or ProxyPassMatch to exclude a file from proxying

I have a VirtualHost set to proxy all requests to another server running on port 9000. What I have : ProxyPass / http://localhost:9000/ ProxyPassReverse / http://localhost:9000/ What I've tried : ...
0
votes
2answers
4k views

zip to exclude all .svn folders

trying to exclude all .svn folders in the zipped subfolders zip -urq bebe.zip * -x .svn doesn't work...
2
votes
1answer
698 views

How to redirect everything from no-www to www Except for few files, using .htaccess?

How to redirect everything from no-www to www except for few files, using .htaccess? I am using the following .htaccess to redirect no-www to www. .htaccess Options +FollowSymlinks RewriteEngine on ...
1
vote
2answers
532 views

exclude directory with tar command

T would like to use the tar command in Linux to back up some files, but i would like to exclude a specific directory from the archive. How can I do that?