bmk
1
Hi All,
i want get the last 1 hours modified files.....But i want only filename without ./ like that..how can get only file name using FIND.
find . -type f -name "*.txt" -mmin -60
./test.txt
./mk2.txt
./mk1.txt
./test1.txt
Output:
test.txt
mk2.txt
mk1.txt
test1.txt
Thanks,
Try:
find *.txt -type f -mmin -60
try below
find . -type f -name "*.txt" -mmin -60 -exec basename {} \;
bmk
4
Working Fine...
Thanks lot @vidyadhar85 and @Don