I would like to exclude some directories from backup. But not all with specific name - only those lying under specified root directory. With rsync I would use exclude mask like this:
which means that all directories with name
/path/excludeRoot will be excluded.
On the other hand: each directory with name
directoryToExclude but lying elsewhere will
Is it possible to do it with tar?