• Home
  • Shell
    • Emacs
    • Perl
    • screen
    • sed
  • Ubuntu
    • VNC
  • Web Development
    • Javascript
    • Joomla
    • MySQL
    • osTicket
  • Windows
    • Gimp

BASH> Modify file/directory timestamp

Jan28
2013
Written by Scott Rowley

In order to modify the timestamp of any file or directory you can run the following commands

Modify timestamp to “right now”

touch filename

Modify timestamp to a past or future time

touch -t 201301281030 filename
Posted in BASH
« Google> Search by Image instead of text (Identify Image)
» MAN PAGE> ‘date’ (8.4)

Corrections? Questions? Comments?

Find an error?
Everything work out great for you?
Have some feedback?
Like to see something added to the article?

PLEASE leave us a comment after the article and let us know how we are doing, or if something needs corrected, improved or clarified.

Thank you!
- The Management

Advertisement

Sudo Bash
By Geeks - For Geeks

Back to Top