Re: [OCLUG-Tech] can't copy some files

2016-09-20 Thread Walt Sullivan
The microSD card file system probably doesn't support long filenames or
non-alphanumeric filenames. Executing
 
mount

will show you the file system type, probably "vfat", and the options it
was mounted with. Read

man mount
 
to understand the options.

Depending on what other systems will see the microSD card (and what they
support), you MAY consider formatting the microSD with a different
filesystem.


-Original Message-
From: Bruce <li...@faintfuzzies.ca>
To: linux@lists.oclug.on.ca
Subject: [OCLUG-Tech] can't copy some files
Date: Tue, 20 Sep 2016 20:27:15 -0400

My trying to put my music collection on microSD card.  I've tried this 
numbers times and I keep getting the same errors with just certain files.  
When I go to copy I get no such file or directory.  Now if I try to copy them 
to say the tmp directory, they copy just fine.  I ran e2fsck and the results 
where I had a good hard drive and microSD card.

Sample of what I'm trying to copy:

cp /tmp/Herbert\ Von\ Karajan\ -\ 01\ -\ BEETHOVEN\ \:\ Symphony\ No.6\ in\ 
F\ major\,\ Op.68\ \"Pastoral\"\ -\ 1.\ Allegro\ ma\ non\ troppo.flac 
/mnt/usbstick/Music

I thought maybe the title was too long so I also renamed some of the 
offending file, but got the some result.  I tried copying them to a different 
hard drive and that worked fine.

Googling produced no help, so here I am.  Any ideas?

=
Bruce
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] can't copy some files

2016-09-20 Thread Charles MacDonald

On 16-09-20 08:27 PM, Bruce wrote:



Sample of what I'm trying to copy:

cp /tmp/Herbert\ Von\ Karajan\ -\ 01\ -\ BEETHOVEN\ \:\ Symphony\ No.6\ in\
F\ major\,\ Op.68\ \"Pastoral\"\ -\ 1.\ Allegro\ ma\ non\ troppo.flac
/mnt/usbstick/Music

I thought maybe the title was too long so I also renamed some of the
offending file, but got the some result.  I tried copying them to a different
hard drive and that worked fine.


Micro SD cards use good old FAT 32 file systems.  and the list of 
special characters for those is large.  I found I had to get a list of 
the failures and start sanitising the file names to go the list to copy


 the : character is surely one as it is not part of "X:"


--
Charles MacDonald Stittsville Ontario
cm...@zeusprune.ca  Just Beyond the Fringe
No Microsoft Products were used in sending this e-mail.
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux