Difference between revisions of "Shell Commands/SetDate"
From MorphOS Library
(Created page with "'''SetDate''' - Changes the last modification date of a file FILE/A, WEEKDAY, DATE, TIME, ALL/S <nowiki> FILE - File or directory name/pattern to modify...") |
(No difference)
|
Latest revision as of 14:14, 3 March 2015
SetDate - Changes the last modification date of a file
FILE/A, WEEKDAY, DATE, TIME, ALL/S
FILE - File or directory name/pattern to modify WEEKDAY - New weekday to set DATE - New date to set TIME - New time to set ALL - If specified, changes the date of all files and subdirectories matching the entered pattern
Example:
MorphOS:> SetDate my_file.txt Thursday 20-Jan-05 15:09:10
NOTE: You can use output from the Date command as input to SetDate.