Occasionally I want to backup these kinds of paths to a tar file:
- All files in my home dir (top level only). I don't care if this includes dirs.
- All files in say ~/abc and it's subdirs, recursively.
How can I do this with a SINGLE tar command?
I know how to do it with find and tar, or 2 tar commands, but I'm wanting to know how I can do it more simply (i.e. a single tar only).
Points for positive working answers only. If you don't think it can be done, please don't comment.