Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change modification time of file 1

Status
Not open for further replies.

aalnaif

Technical User
Jan 12, 2007
44
CA
Is there a Linux bash command to set the modification time of FileA to that of FileB?

For example, assume FileA was last modified at 5:30, and FileB was last modified at 6:30, and currently it is 7:30. I would like to change the modification time of FileA to 6:30.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top