In Windows, I am used to modify directory dates, eg. of directories containing photos according the date when the first photo was taken; and then display a list of the directories sorted by the dates. In Ubuntu, Krusader can display the directories this way. I need to change the date (the "date of modifying") of a directory after I fill it with eg. the photos. How should I change it? Thanks
You can use
touch
command with-t
option. This is fromman touch
:An example:
will change the date modified for
directory
to2013-12-03 14:29:30
.Don't. It will just get changed as soon as anything in the directory changes anyhow ( like when a thumbnail is generated ). Instead, rename the directory so the date you want is in the name.