[EMAIL PROTECTED] suggested:
> > = Davidsen (me)
> My intention was to make it behave this way:
>
> mkisofs -o /tmp/xxx dir/
>
> Will use dir/ as root dir for the CD
>
> mkisofs -o /tmp/xxx file
>
> Will have only file in the root dir of the CD
>
> mkisofs -o /tmp/xxx dir1/ dir2/ file ....
>
> Will have dir1/ dir2/ and file in the root dir of the CD
>
> mkisofs -o /tmp/xxx ab/cd/ef/dir1/ hello/dir2/ file ....
>
> Will have dir1/ dir2/ and file in the root dir of the CD
>
> I hope that this is intuitive.
> >4. I would love to make the general case of xxx=yyy mean that file or
> >directory yyy would appear as xxx on the CD. It would mean that any
> >name which contained an equal would be a special case. That actually
> >does affect me, but names with equal are unusual, and I certainly would
> >rather have the usual case be easy and intuitive. I really need equals
> >in both disk and CD names, but I don't mind inconvenience as a penalty
> >for having to support an ill-designed application.
>
> How about my proposal:
>
> Use the old behavior only if there is only one dir type arg.
>
> If there is a file type arg or if there are more args, then
> make the last path component appear on the root dir of the CD.
I would like to see at least an option to use the whole directory name
in this case, since one of the things I back up to give people includes
/opt/schilly and /usr/local, each of which contain a bin directory which
is better kept individual.
I really like the idea of avoiding removal of the dir name, but at
least for me I don't want to remove any of it. I use lots of CDs for
backup and/or transfer to other systems, and I can't depend on the end
users to know where to put things. I generate a list now of explicit
dirnames, just to say /usr/local/bin/=/usr/local/bin and other similar
ways of saying "A really means A."
Perhaps others would comment on whether leaving the dirname as is or
removing all but the last level is most useful to them as a default,
since I am biased to preserving the full information.
How did you feel about the suggestion that one and only one equals
mean a renaming, and requiring equals in a name to be a special case. So
LOCAL/=/usr/local would work by default. Oh! And how about dropping the
trailing /, saying that A=B makes A a directory if B is a directory,
else a file. Then LOCAL=/usr/local is more intuitive (to me, at least).
I wrote a script just because it was easy to mistype!
I envision something like:
mkisofs -dDRNLJ -o /tmp/bkup.iso $(find / -cnewer /tmp/lastbackup)
or some similar variation. This could be combined with -multi to
automatically keep a current copy of some hierarchy...
--
-bill davidsen ([EMAIL PROTECTED])
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]