The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
166 views

BAT file: Delete all files in directory older than 5 days except one file

I have a directory with many temp files. All files older than 5 days can be deleted except one file 'DoNotDelete.txt'. Therefore I should add an extra argument to my current script: forfiles /p ...
1
vote
1answer
370 views

7-zip -xr!*.bat is creating an empty archive with the batch files name

I am trying to exclude files from a 7-zip batch. The syntax is: for %%A in (*) do "C:\Program Files\7-Zip\7z.exe" a -tzip -xr!*.docx "%%A.zip" "%%A" -xr!*.bat The command is creating zip files ...
0
votes
0answers
12 views

Any ftp clients, have both windows and mac version, can do comparison and allow user to set something like “excluded-file-list”

Is there any ftp client program, better have both windows and mac version, which can do comparison, and allows user to set a "excluded-file-list"
2
votes
1answer
72 views

Linux Unzip with exclusions from .txt file

I have an unzipping script on Linux. It attempts to unzip with the command: unzip file.zip This is obviously successful. I now wish to exclude some files. The manual tells me of the -x option. I ...
0
votes
0answers
118 views

Configure wireless router to only allow web access

I have a (very common inexpensive) wireless Cisco router at the office where I work. The manager wanted to know if there's a way to configure the router to allow only web access. How would I go about ...
0
votes
1answer
234 views

Fixing truncated *zip with Terminal, keep getting stuck

I have a *zip containing a lot of pictures from the past year, and it compressed incorrectly and is missing its end statement. I've been using "zip -FF" in Terminal, but it keeps getting stuck on a ...
2
votes
1answer
2k views

Excluding a folder from the home directory with rsync exclude list

I am trying to set up rsync for OS X 10.8.4 using an exclude file. However, it does not recognize the paths I want to exclude. I want to copy the user ABC's home directory to a folder called ...
0
votes
2answers
348 views

TAR or ZIP current directory excluding the generated file

I am trying to zip or tar all the files and subdirectories in current directory and save it to the file I am zipping. The problem is that -x shitch does not work - files are being zipped and saved to ...
1
vote
1answer
362 views

Excluding a slide from the slide count in PowerPoint 2007

In a PowerPoint presentation, I use numbered slides. As a good practice, I repeat the index (TOC) between chapters, in order to enable the audience to keep up with the structure of my speech. ...
2
votes
1answer
425 views

How to prevent ST2 from searching in excluded folders?

I've got a sublime-project like this: { "folders": [ { "path": ".", "folder_exclude_patterns": ["_doc", "cache", "logs", "_release"], "file_exclude_patterns": ...
0
votes
1answer
148 views

rsync --exclude not excluding

I'm using rsync on Ubuntu 12.04 LTS 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 excluded: ...
0
votes
1answer
215 views

How do bash scripts expand file globs?

In this code, the excludespec variable is expected to match all it substring, but it appears to evaluate the to the actual files matching it when it is executed, rather than pass its exact ...
2
votes
1answer
156 views

tar - how to exclude like this: “/path/excludeRoot/**/directoryToExclude”

I would like to exclude some directories from backup. But not all with specific name - only those lying under specified root directory. With rsync I would use exclude mask like this: ...
0
votes
1answer
261 views

shell script : rsync exclude

I'm building a shell script and at some point I'm excecuting thie command : rsync -arv --delete --exclude=".svn,*.db,.DS_Store" Source/ Dest/ However it seems the my exclusion doesn't work. Am I ...
0
votes
2answers
3k views

grep multiple exclude extension

I find single exclude extension like grep --exclude "*.js" "a" * How do I write multiple exclude masks? I have tried the code below, but it doesn't work: grep -r --exclude=*.\{html,htm,js} "li" ...
2
votes
2answers
500 views

Microsoft Word Strict Inforcement of New Zealand (British) English

In Microsoft Word, If I spell a word in American English, and British English - it accepts both as valid. But I want to tell MS Word to make American English spelling marked as incorrect. I have my ...
0
votes
2answers
798 views

Exclude file when upload directories

I have written a simple shell script which uses ncftpput to recursively upload all directories in a local directory to a remote directory. My shell script, upload.sh is placed in this local directory ...
2
votes
1answer
1k views

Can't make wget reject/exclude files from a list

The problem is this, I have a file with a list of URLs, say links.txt: http://www.tipsfor.us/wp-content/uploads/2009/01/vim-editor-icon.png ...
5
votes
2answers
8k views

7zip: How to exclude files (not file types) using an exclude list file?

I know you can create a text file containing a list of files and then tell 7zip to reference this file so that it can exclude them from the archive, but I cannot find the syntax for that. Can someone ...
18
votes
5answers
13k views

Unix zip directory but excluded specific subdirectories (and everything within them)

I'm trying to zip a directory (on Unix via SSH) but I need to exclude a couple of subdirectories (and all files and directories within them). So far I have this: zip -r myarchive.zip dir1 -x ...
2
votes
1answer
882 views

tar - exclude certain files

I wish to tar all files in a directory and its subdirectories that do NOT end in .jpg, .bmp, .gif, or png. So, given the following folders and files: foo/file.txt foo/file.gif foo/bar/file ...
1
vote
3answers
1k views

Linux tar command with exclude

I want to create tar file of a folder but this folder contains some tar.gz files like abc.tar.gz, pqr.tar.gz which i don't want to include so how to exclude this files while making the ...
2
votes
2answers
692 views

How do delete *.jpg files from an already existing Archive?

I have at least 40 archive files, 100 MB each, which also includes many .jpg files within. How I can delete the .jpg files from these archives easily? To be more exact, I am looking for a way to ...
3
votes
5answers
5k views

How do I exclude directories from my Windows 7 backup?

I'm setting up a backup for a friend's computer onto his USB drive. I was reading this article about the Windows 7 Backup and Restore feature. Everything looks okay, but for the life of me, I can't ...
3
votes
3answers
6k views

When running `rm -rf`, is it possible to exclude certain subdirectories?

I routinely use bind mounts to aid in making space available in multiple locations without having to have multiple logical volumes / physical partitions / LUNs, etc. For example, I may have a 200G LV ...
2
votes
3answers
9k views

XCOPY /Exclude Directory Syntax

I'm trying to use XCOPY to copy a directory that looks like this: -MainFolder -ManyFoldersIWantToCopy -ManyFoldersIWantToCopy -... -Source Code I want to use the /EXCLUDE option to copy every ...
1
vote
1answer
3k views

Why does this rsnapshot exclude not work?

Rsnapshot passes excludes directly to rsync, but rsync's behavior appears inconsistent. I've simplified my rsnapshot backup test to the following directory tree (this tree will be backed up): ...