PDA

View Full Version : "Cannot create regular file" ":Invalid Argume



bluedevlx
11-01-2004, 09:59 PM
I'm trying to get all of my files from a JAZ 2GB Disk with the filesystem HFS (for MAC)
I did
cp -r /mnt/jaz/ /mnt/hda4/Harry/hdbackup/

and all i'm getting is
cp: cannot create regular file `/mnt/hda4/Harry/hdbackup/lkaefjalf/jawf awefaw/ sdaf:aa dfdaf .e432':Invalid Argument
cp: cannot create directly `same as above':Invalid Argument

I've done my reading and came up with the a theory that it's the colons and the long file names that is causing this.

What can I do in this case to just copy everything from SOURCE to DEST without filename length and char errors?
Now i'll just be waiting probably an hour or two for it just to go through without me killing the power. Thank You

firebyrd10
11-01-2004, 11:37 PM
My guess is also the weird file names. Have yout ried copying them through a GUI? Mabye konqueror? It might handle the names better.

bluedevlx
11-02-2004, 12:25 AM
I'm just going to learn to tar and tar up the directories because that is what can handle files names, etc. well from what i've read!

Using the gui to do so is the same problem it hangs and gives me an error saying can't copy this file or whatever.

firebyrd10
11-02-2004, 01:22 AM
I'm just going to learn to tar and tar up the directories because that is what can handle files names, etc. well from what i've read!

Using the gui to do so is the same problem it hangs and gives me an error saying can't copy this file or whatever.
You can use ark for a GUI tarring program.