How can I recursively bzip2 all files that do not end with the .bz2
extension in Linux?
Linux – How to recursively bzip2 all files that aren’t bzipped
compressionlinuxrecursivessh
compressionlinuxrecursivessh
How can I recursively bzip2 all files that do not end with the .bz2
extension in Linux?
Best Answer
find is your friend. I reckon the following ought to do it:
i.e. if the dir where the files you want to bzip are is /var/log/blah it would be: