For example: mylivecd --gzip --nodir /home/ray/Pictures /home/ray/Music /home/ray/Documents new.iso
That one look nearly correct, for added precision i would write it as follow:
mylivecd --gzip --nodir ^/home/ray/Pictures ,^/home/ray/Music ,^/home/ray/Documents new.iso
note the added 'caret' and 'comma' characters, where 'comma' is a separator and the 'caret' meaning is "beginning with"
if, by any chance, you would have a directory like:
/somewhere/backups/2011/home/ray/Pictures,
this would be excluded from the backup using Old_Guy command, and will be included using mine modification.
Never had occasion to try it but would
--nodir /home/ray/
I have tested this and it is fully equivalent to --nodir /home/ray (without the final slash), one important things is that --nodir option
expect as argument a directory (or a
perl regular expression expanding to a
list of directory
ies), you are going to have undocumented behavior when using file-names as arguments.
--nofile /home/ray/
This is incorrect, not allowed from mylivecd help page, which state arguments must be a file name (or a
perl regular expression that expand to a
list of file-name)
--nodir /home/ray/* --nofile /home/ray/*
Because using these expression, there are great chances to include both file-names and directories names in addition to each other, this would lead to unexpected results.
IMHO the above limitations should be highlighted on "mylivecd --help" page.
AS