I need to change the timestamp of about 5000 files.
Typing touch file1.txt
, touch file2.txt
will take me forever.
Is there a way to do something in the lines of touch -R *
?
I need to change the timestamp of about 5000 files.
Typing touch file1.txt
, touch file2.txt
will take me forever.
Is there a way to do something in the lines of touch -R *
?
You can use
find
command to find all your files and executetouch
on every found file using-exec
If you want to filter your result only for text files, you can use