Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: ezhilan2307
97,614
Posted By ezhilan2307
Try this :
find . -name "*.dat" -mtime -2 -print |awk -F/ '{print $NF}'

Where *.dat --> you can give the file extension which you want

and -2 is 2 days.. so it will list the filenames which are...
Showing results 1 to 1 of 1

 

Featured Tech Videos

All times are GMT -4. The time now is 05:59 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy