Hi, On 22/10/2007, Edd Barrett <[EMAIL PROTECTED]> wrote: > Hi there, > > I have an odd one for you here. Im trying to copy music from a hard > disk(FFS) mounted on /mnt/media. I can play the music with mplayer > just fine, but cp seems to refuse to believe that the files exist. > > Whats going on?
I know what has happened? ---8<--- # ls a_fragile_hope darkness_prevails # ls /mnt/usb palm volume.nam # cp -R a_fragile_hope /mnt/usb cp: /mnt/usb/a_fragile_hope/the_coroner.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/as_the_storm_unfolds.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/dawn_of_the_first_day.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/awaiting_the_flood.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/between_two_words.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/sirens_chant.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/hope.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/in_the_absence_of_light.ogg: No such file or directo ry cp: /mnt/usb/a_fragile_hope/in_absense_of_light.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/the_starting.ogg: No such file or directory cp: /mnt/usb/a_fragile_hope/at_the_end_of_the_tunnel.ogg: No such file or direct ory # ls /mnt/usb a_frag~1 palm volume.nam ---8<--- The directory made has been truncated msdos style. "a_frag~1". Therefore when cp tries to copy files into the new directory, it can't find the new filename. The workaround is to do something like this, with a shorter filename ---8<--- # cp -R a_fragile_hope /mnt/usb/a ---8<--- -- Best Regards Edd --------------------------------------------------- http://students.dec.bournemouth.ac.uk/ebarrett

