I have a directory structure and files like this
data/ data/a.txt data/folder/ data/folder/b.txt data/folder/folder/ data/folder/folder/c.txt ...
a.txt , b.txt and c.txt are large files that are often generated and updated by the computer. They should NOT be backup, but I want to back up the directory structure:
data/ data/folder/ data/folder/folder/
How to do this with rsync and --exclude-from, without specifying each folder, but something like rsync -a data/* --exclude-from=exclude.rsync "" --onlyfoldersandnotfiles"" ?
Thanks for the help!
linux backup rsync
chicama Aug 23 '10 at 8:55 2010-08-23 08:55
source share