Hi,
Is there a way to find all the files from a specific location and then zip them into a single file, even if they are in multiple directories?
Hi,
Is there a way to find all the files from a specific location and then zip them into a single file, even if they are in multiple directories?
What do you mean by :
As far as I know, unless you are mixng things with links etc... a file is only at one place, but nothing stops you to have mulitple copies...
if I want to search under /data/raw_files/, there can be multiple directories under raw_files folder. I want to search all the folders recursively and zip those files into a single file. ( there are no duplicates)
thanks,
Is this what you're looking for?
find /data/raw_files -type f -exec zip -j bundle.zip {} \;