|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Hardware Questions about drivers, peripheral cabling, configuration |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all friends !
I've got many files with colons in their names and I'd like to save them onto a USB-KEY. It seems that I can't write them (answer of 'cp' : "Invalid argument"). The USB-KEY is automatically mounted as a VFAT file-system on an OpenSuse 11.1 One example (among a great number ...) Moose::Cookbook::Basics::Recipe9.3pm question 1 : Is it "normal" ? question 2 : How to deal with that ? Thanks to you in advance !
|
|
||||
|
I believe Fat won't let you as it is an invalid character, apparently you cant use : or ? going on this ...
https://lists.ubuntu.com/archives/ub...ay/115345.html You would have to do a rename something like .. or use a gui rename think KRename Code:
for file in *; do mv "$file" $(echo $file | sed -e 's/:\+\|?/_/g'); done |
|
||||
|
Quote:
I knew there was a reason I avoided fat filesystems...... ![]() -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default up 10 days 23:35, 2 users, load average: 0.16, 0.25, 0.18 GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14 |
|
|||
|
thanks to all !
In fact I cannot rename files because they are parts of a Perl-module-distribution and all could break if I renamed. another last solution : build a tar-file containing all the "bad-named" files. But it's just good fro storage, not using. however, thanks! |
|
|||
|
> another last solution : build a tar-file containing all the "bad-named" files. But it's just good fro storage, not using.
You could build an ISO file and mount it using loopback to get read access to individual files. Do you need to read the stick on Windows? If not, format it ext2 (not ext3, for some reason to do with journals and flash I forget), then you're doing things the right way. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|