Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just got a new WD Passport (250 GB) and I was transfered my data over (in Windows). Then later on I decided to transfer some mp3's over on to the external hard drive. When I did that for some reason it copied the files into the main directory and it seems as if all the data I had originally transfered over had disappeared.
However in both windows and Linux it accounts for the space of the transfered files although it doesnt show the data . . . anybody have a clue what might be going on . . . I didnt by accident hide those files and click on the do not show hidden files button.
Any clue what I should do . . . like I said this is brand new.
When I did that for some reason it copied the files into the main directory and it seems as if all the data I had originally transfered over had disappeared.
Fofire
How does this matter? Where us the main directory? Please ensure clarity. ALso, put in more details like the file system etc.
When I did that for some reason it copied the files into the main directory and it seems as if all the data I had originally transfered over had disappeared.
Fofire
How does this matter? Where is the main directory? Please ensure clarity. Also, put in more details like the file system etc.
How did you copy the files? Did you maybe copy multiple files to a single file using the dos copy command?
what command did you use to copy the files to the disk? Look at the long listing and see if there is a large file present. Could you maybe have copied them to a subdirectory by mistake?
You could use the "find" command to locate files above a certain size.
find /media/externaldrive/ -type f -size +6M
To the kernel, a directory is a text file. Its size increases with the number of files copied there, so you could try to locate a subdirectory with a large number of files based on the directories size:
find /media/externaldrive/ -type d -size +30K
The sizes I chose are just examples. I also made up the name of the mount point since you didn't indicate that info.
How did you copy the files? Did you maybe copy multiple files to a single file using the dos copy command?
what command did you use to copy the files to the disk? Look at the long listing and see if there is a large file present. Could you maybe have copied them to a subdirectory by mistake?
You could use the "find" command to locate files above a certain size.
find /media/externaldrive/ -type f -size +6M
To the kernel, a directory is a text file. Its size increases with the number of files copied there, so you could try to locate a subdirectory with a large number of files based on the directories size:
find /media/externaldrive/ -type d -size +30K
The sizes I chose are just examples. I also made up the name of the mount point since you didn't indicate that info.
You yourself must be able to deliver the solution. Just check if the files are hidden Thats all I can say! Also, just make sure that you safely unmount the drive before removing it. If you remove it without unmounting it, the data may not be written at all!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.