-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
excluding one folder #77
Comments
You should construct file list with find Top -type f -not -regex '.*/donotinclude/.*' > /tmp/file-list.txt && rhash -M --file-list /tmp/file-list.txt |
Thanks you very much for this nice feature and example, now I can use rhash for my data checkup |
Sorry, I don't know if I should have opened another issue or not. |
@2324561w2, I've been thinking the same thing for a while now. |
With RHash version 1.4.1 or higher, use Windows DIR and FINDSTR commands: dir /S /B "C:\THE_FOLDER_TO_SEARCH" | findstr /V /I /C:"\\SOME_SUBFOLDER\\" | rhash -M --file-list - The |
The
So, is this a bug in |
As from #9, could you please provide a find piping example command to exclude the folder donotinclude in a situation like below but processing all the rest recursively. I have tried find but could not make it to exclude it because of -r
The --exclude is only for file types and excluding folders would really be nice to have
my curren tcommand for full rhash
rhash -Mr Top -o myhash.md5
The text was updated successfully, but these errors were encountered: