Skip to main content

Make all files in dir same date time

Comments

3 comments

  • dalem
    cd /to_to the_directory_you_want_to set_the_date find -print | while read filename; do touch -t 201905291500 "$filename"; done the above will edit the date of all files in the directory to May 29 15:00
    0
  • durangod
    Thanks ill ask my host to do that for me as i dont have root access, appreciate that :)
    0
  • cPanelMichael
    Hello, I've marked this thread as solved. Thank you.
    0

Please sign in to leave a comment.