INSTALLATION DOCUMENTS BY RAVI

Thursday, July 27, 2017

Command to change the time stamp of all the files in a directory in linux

We can change the time stamp of all the files in a directory with a simple command

For example below screen shot contains a directory with two files of different date






Syntax for changing the time stamp of files in a directory

$ find "PATH-TO-THE-FILES-DIRECTORY" -exec touch -t YYYYMMDDhhmm {} \;







See in the above screen time stamp of the files changed to the date we mentioned in the screen




No comments:

Post a Comment

Perfect order of ODI export and import

  Smart Export / Import is the recommended way to achieve such a migration. This is the easiest way to make sure all the dependencies are ta...