Failure of cp comman?
Knute Johnson
ubuntu at knutejohnson.com
Tue Apr 26 18:18:18 UTC 2011
I'm backing up my important files at night to a thumb drive formatted
with FAT32. One of the files to be copied has two colons in the file
name. That isn't acceptable in a FAT file system and the log has the
following error;
/etc/cron.daily/system-backup:
cp: cannot create regular file
`/media/usbdisk/home/knute/.cpan/build/Mail-Sendmail-0.79-0k5uki/blib/man3/Mail::Sendmail.3pm':
Invalid argument
My question is what happens to the cp command when an error such as this
occurs? Does it stop copying files or does it continue to copy all
files that don't have errors? I've looked at man cp and info but there
isn't any information on what happens when an error occurs.
Thanks,
--
Knute Johnson
ubuntu at knutejohnson.com
More information about the ubuntu-users
mailing list