1000 files

Asked by Dmytro del Creatore dell'Universo

Is there a programm, that shows last 1000 files, which were created and/or modified by time and date in ubuntu?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Dmytro del Creatore dell'Universo
Solved:
Last query:
Last reply:
Revision history for this message
Dmytro del Creatore dell'Universo (dmytrodelcreatore-deactivatedaccount) said :
#1

ls -t -l /path shows all subfolders with list of last moderated files by time.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

I see you linked this to apt. If you want to view the packages last updated you can read /var/log/dpkg.log

Revision history for this message
Dmytro del Creatore dell'Universo (dmytrodelcreatore-deactivatedaccount) said :
#3

Thanks, I have renewed my memory, but I need files, not packages.

Revision history for this message
Dmytro del Creatore dell'Universo (dmytrodelcreatore-deactivatedaccount) said :
#4

In Windows there is I guess this option even without outdoor programms.

Revision history for this message
daniel CURTIS (anoda) said :
#5

Hi. Maybe try to use 'find' utlility to find files that was modified since a specific time ago e.g. an hour ago etc. Example: all files modified in the last 24 hours in current directory and it's sub-directories:

,-----[ modified files - last full day ]
| find . -mtime -1 -print
| find /where_to_search -mtime -1 -print
`-----

One more, important thing about '-mtime' option:

,-----[ mtime opt. ]
| -mtime +10 file modified 10 days ago.
| -mtime -10 less than 10 days.
| -mtime 10 exactly 60 days (without + or -).
`-----

Of course, for more info please read man pages for 'find' ('man find' command without quotes). One more thing! There is also a 'stat' utility (of course check man pages)! How to find File-Directory creation date? It's preatty easy;

,-----[ stat utility ]
| stat example_file
| (...)
| Access: 2013-06-11 20:19:39.000000000 +0100
| Modify: 2013-06-11 20:25:59.000000000 +0100
| Change: 2013-06-11 20:26:04.000000000 +0100
`-----

Best regards.

Revision history for this message
daniel CURTIS (anoda) said :
#6

Hi, sorry my bad in [mtime opt.]:

,-----
| --- -mtime 10 exactly 60 days (without + or -).
| +++ -mtime 10 exactly 10 days (without + or -).
`-----

Revision history for this message
Dmytro del Creatore dell'Universo (dmytrodelcreatore-deactivatedaccount) said :
#7

Thanks all, it was usefull!