centos - Find files modified within 24 hours linux server -


i need find files modified last 24 hours without subfolders. having command

find /var/www/html/test/ -mtime -1 -type f -exec ls -l {} \; 

this show modified file within folder , subfolder. need particular folder modified in last 24 hours.

so please , tell me command show modified in parent folder.

just add -maxdepth 1

find . -maxdepth 1 -mtime -1 -type f -exec ls -l {} \; 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -