Questions tagged [exclude]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

How do I know if something is skipped by `updatedb`?

The --debug-pruning output is unclear I don't see my directory in the "Skipped" but I don't see it in the "Checking if is excluded" too The filesystem is not in PRUNEFS, the directory is not in ...
1
vote
0answers
84 views

BIND DNS: Exclude specific sudonmain to wildcard Record

I don't know if i am in the good category or even the good forum. But like i saw many tutorials on Ubuntu and other linux version and their fixs didn't solve my problem, i imagined that there is some ...
0
votes
0answers
61 views

vscode peek exclude folders

My project structure contains "src", "inc", "test", "build" folders. "test" and "build" are part of my unity Test tool, so they will contain mocks of my original header files, located in "inc". When I ...
1
vote
1answer
485 views

How to exclude folders from WinDirStat scan?

During the lifetime of a typical computer, many folders are static in their contents. For example, a program like Matlab, loaded with some toolboxes, is installed once and seldom changes ever after. ...
0
votes
1answer
217 views

rsync --exclude and --exclude-from doesn't work

I've had a command in a script which I used a lot for a couple years. I didn't use the script for the last year, but today I ran it again. I'm suddenly having trouble excluding files from an rsync ...
0
votes
1answer
186 views

Excluding a specific recipient when sending mail via Outlook to a PDL

I have a PDL that contains other PDLs.. all and all about 500 recipients (MS Outlook). I want to exclude 1 recipient temporarily (to this email only). is there a way this can be done? or should I open ...
2
votes
1answer
200 views

Tar: Exclude certain extensions in subfolders

I have a folder which includes subfolders which in turn have subfolders as well. I tried: tar --exclude='*.msh' --exclude='*.geo' -czvf cont.gz run-1/* to compress all files and subfolders in run-1 ...
0
votes
2answers
3k views

Robocopy exclude directories with wildcard

I am trying to backup critical folders and their contents on a daily basis so that, should my data drive fail, I have a backup of the important project files but my working data drive is much larger ...
0
votes
0answers
347 views

How to make a certain folder to be excluded by McAfee

In KasperSky I can make an exception for a specific program/folder... with the 'Trusted Zone' feature. But not in McAfee, I can only make exceptions file by file, which mean you have to add to the ...
0
votes
1answer
675 views

How do I exclude/ignore specific file types/extensions with rmlint?

I am trying to dedupe a labyrinthine directory, but I keep getting results for the contents of the items I want to match rather than the enclosing items, themselves, i.e. my results are full of things ...
1
vote
2answers
278 views

Grep Exclude Multiple dirs CSV not working

I'm trying to grep for the word world, while excluding any directories that are mail, tmp, or .cpanel. I can ignore them individually using the --exclude-dir=name, but from reading other threads it ...
1
vote
1answer
2k views

How to exclude the system directory using Powershell

I want a simple way to exclude the system folder from the searches in PowerShell. I use the following script: $mysys = 'c:\windows' PS C:\> Get-ChildItem -path . -Include *.txt -Exclude '$...
1
vote
1answer
1k views

How to exclude a folder from a string search

>>"results\txtmail.txt" findstr /i /p /s mail %userprofile%\*.txt Now, what if I want to exclude C:\Users\Username\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5 from the ...
0
votes
0answers
48 views

Cannot anchor rsync excludes when cloning from root

I'm synchronizing data using rsync [...] --exclude='/var' / host:/ When I execute this, part of the output is *deleting var/log/nginx/https.error.log.1.gz *deleting var/log/nginx/https.error....
5
votes
3answers
2k views

Shell command to find files containing one word but not the second word

All I have the below two files in my linux machine and I wanted to find out file which contains "word1" and doesn't contain "word99" file1.txt word1 word2 word3 word4 word5 file2.txt ...
2
votes
1answer
9k views

How to add folder exceptions to exclude paths from Bitdefender Antivirus Free Edition?

http://www.ghacks.net/2012/12/29/bitdefender-antivirus-free-edition-review/ I cannot find any specific way to bring up a place where I can put paths/ folders that I wish to exclude from BitDefender. ...
-1
votes
1answer
93 views

Avast anti virus exclude files

I have a cracked program and i need avast to exclude the crack from scanning as it read it as virus How can i make avast anti virus to exclude some file to be scanned as it always read those files ...
4
votes
1answer
2k views

Why doesn't WinMerge filter .git folders although the FileFilter is in effect?

When comparing git repo clones, I am annoyed by the appearance of the .git folder and its contents in the directory compare tab. In the Tools -> Filters... dialog, I have the Exclude Source Control ...
1
vote
1answer
432 views

Wget having trouble just saving the files I want - exclude directories doesn't seem to work

I want to download all government spending over £500 by the Department of Energy and Climate change. These are .xls and .xlsx files, generated once per month. They are stored at locations like this: ...
0
votes
0answers
791 views

netbeans regext for exclude files and folders from IDE

I need to be exclude these pattern from netbeans IDE. vendor/*/tests/* exclude all files under tests folder vendor/*/test/* exclude all files under test folder !vender/.*\.php exclude all ...
0
votes
0answers
35 views

Exclude file types with Bitcasa

Is there any way to exclude certain file types from being mirrored with Bitcasa? I have a lot of Lightroom catalogues to backup, and want to exclude all the preview files (*.lrprev), as it's just a ...
1
vote
1answer
2k views

dd , pv , gzip and exclude directory, possible?

Is it possible to do the following: dd if=/dev/hdx | pv | gzip > /path/to/image.img\ --exclude=/temp --exclude=/lost+found --exclude=/proc --exclude=/path/to/image.img So I want to make a backup ...
0
votes
1answer
756 views

Exclude folders with a path pattern using FIND command on Ubuntu console

PROJECTS |___ SITE1 | |____files (to exclude) | |____img | |____js | |___ SITE2 | |____files (to exclude) | |____img | |____js | |___ ...
2
votes
2answers
1k 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 "D:...
1
vote
1answer
2k 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 ...
2
votes
1answer
887 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
1answer
860 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 *...
4
votes
1answer
8k 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
1k 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
4k 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. However,...
13
votes
1answer
2k 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": ["...
1
vote
1answer
345 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: #!/bin/...
0
votes
1answer
394 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
462 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: /path/...
0
votes
1answer
1k 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 ...
2
votes
2answers
13k 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
2k 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 ...
1
vote
2answers
2k 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
2k 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 http://wp.psyx.us/wp-content/uploads/2011/01/vi-vim-...
11
votes
3answers
19k 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 ...
131
votes
7answers
143k 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 dir1/...
4
votes
1answer
8k 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 foo/bar/...
1
vote
3answers
2k 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 tar
2
votes
2answers
1k 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 ...
4
votes
5answers
11k 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 ...
6
votes
4answers
20k 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 ...
4
votes
3answers
24k 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 ...
2
votes
1answer
4k 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): ...