Answer the question
In order to leave comments, you need to log in
How to apply touch to all folders/files recursively?
There is a directory with different files and other directories with other files. I need to make all files (including those inside directories) one timestamp. The command touch -am -R *
does not work, -R does not accept. How to do it?
Answer the question
In order to leave comments, you need to log in
find . -type f -exec touch -am {} \;
Didn't check but seems to be correct
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question