Change file last modified date linux.
Change file last modified date linux While date -r operates on individual files, our old pal ls can reveal modification dates for everything in a directory. touch -m command needs to be Mar 21, 2023 · Get Your Free Linux training! Join our free Linux training and discover the power of open-source technology. The above method can be used to change the mtime of all obj files, when using make utility. Sep 2, 2015 · But I want to find out if it is possible to find the N-1 user who modified the file. For example: touch -t 09082000 file to change the modification time to 8 sep, 20:00. 2 Failure that resulted in a usage message, including the following causes: Unknown command-line option. Sometimes, it might be handy or more efficient to display this information while searching for files. Feb 1, 2025 · How to change the modified date: Right-click the file you want to modify. Explicitly changing the file modification time counts as a metadata change, so will also have the side effect of updating the ctime. R.