Results 1 to 4 of 4
Hi all,
I am using GNU/Linux with kernel 2.4.29.
When I copying a file using the following command:
Code:
cp /root/speakfb-7.6a.zip /mnt/usb
where /mnt/usb is the dir at which I ...
- 06-12-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 2
file name changed when copying
Hi all,
I am using GNU/Linux with kernel 2.4.29.
When I copying a file using the following command:
where /mnt/usb is the dir at which I mount my usb stick (mass storage),Code:cp /root/speakfb-7.6a.zip /mnt/usb
I get a same file named 'speakfb-.6a' in the usb stick.
Why is the file name changed?
I have remount the usb stick and tryed it a lot of times, but get the same
result.
Any ideas?
Thanks!
- 06-12-2007 #2
Not the faintest :S
What happens if you do this?
And is the problem specific for this file, or do (almost) all filenames change? What happens if you copy the file to another directory, /home/$USERNAME for example? And if you cp the file from that directory to the usb?Code:cp /root/speakfb-7.6a.zip /mnt/usb/speakfb-7.6a.zip
- 06-12-2007 #3Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
- 06-14-2007 #4Just Joined!
- Join Date
- Jun 2007
- Posts
- 2
problems going on
The result of 'ls -l spea*' is as follows.
And the result of 'file spea*' is as follows.Code:-rwxr-xr-x 1 root root 705862 2007-06-12 07:20 speakfb-.6a
And note that the name of some of other files also be changed when copying to the usb stick (flash memory), while some are not. But the 'cp' command works well with the native disks and the usb mobile disks (hard drive).Code:speakfb-.6a: Zip archive data, at least v2.0 to extract
I am very curious about the reason and want to fix the problem.


Reply With Quote
