4
1
Unlike the --exclude
parameter for rsync
that can excludes both files and directories, the *nix find
command's -prune
parameter can only exclude directories.
So how can I exclude a certain type of files (say .bak) when invoking find
?
In other words, how to make the following non-working example works?
find --exclude=*.bak /some/dir
Thanks
For my case, I'd use
-iname
, just FTA. – xpt – 2013-06-30T22:10:28.133