Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
This is my first message here, so first of all I want to say hello to everyone.
And here is my first question:
Just for checking if I use find command correctly, I did followings in order:
1. Boot with Ubuntu netobok remix 10.04 live-usb.
2. Plug my MyPassport external hard drive.
3. Open a "desktop.ini" file in that disk by gedit, with the help of nautilus to find the file.
4. Did not change the document and Close gedit.
5. In terminal I run following command:
Code:
find /media/MyPassport -amin -60
6. It did not display desktop.ini file, but it displays a folder named something like ".Trash999" and some folders I have not surely accessed in the last 60 minutes.
If your drive is formatted with FAT32 I believe it has only an access date, not an access time. You could try `ls -ltu` to see what linux thinks the access ('use') stamps on your files are. Use `ls -ltud` to get the stamps from the directories themselves rather than their contents.
There was not any linux partition on the external drive. It was formatted with FAT32. I was not known that access time is not stored on FAT32 file system. Very useful information for me.
Jthill, thank you very much for guiding me about ls commands. I was afraid of using any ls command that it might change access times of listed files itself. Do you think it is possible? I had a similiar problem with Windows Explorer before.
I can't think why ls would change any stamps find doesn't, but you're in try-it-and-see territory here. And do note the date-only stamps don't explain why the find command found anything at all. Post what you find out? I'm curious (just not as curious as you are . Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.