William L. Jarrold wrote:

Hi,

I have a whole lot of ascii text files (> 5000) that I want to save
onto a cdrom via my iBook's cdrom.  Any advice on how to do
this would be appreciated.  The person to whom I am giving the
cd is not unix literate and wants all the files right there, e.g.
not bundled via tar.

Here are some cd rom related tricks that have worked on other machines...

bash-2.05a$ eject
bash: eject: command not found
bash-2.05a$ mount /cdrom
mount: /cdrom: unknown special file or file system.
bash-2.05a$

The "Missing Manual" or "Mac OS X for Unix Geeks", both from O'Reilly, will help a lot with stuff like this. I've come to understand that OS X has lots of neat Unix tools, but it is NOT Unix. I'm having to learn a new OS.


...any idea how to avoid that "Argument list too long"
error?  I have been meaning to send a separate note about
that problem for weeks now....Recent hacks have
suggested that something like this might work...

for i in ls ; do cp $i <cd-rom-incantation> ; done

...but a non-hack solution would be greatly appreciated.  My perl
is worse than my unix but I am v willing to try a perl soln but you'll
have to be pretty explicit about what I am to do.

man xargs

  /bin/ls * | xargs -J % cp -rp % destdir

  Should do about what you want.


Doc _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://machito.utacm.org/mailman/listinfo/siglinux

Reply via email to