Terminal command to change files/folders creation/modification date
Hello,
I'm looking for a terminal command that allows me to change files and folders creation and modification date.
I've already tried with:
touch -t YYYYMMDDhhmm.ss [File path]
--to change creation date
or
touch -mt YYYYMMDDhhmm.ss [File path]
--to change modification date
...but the command to change the creation date doesn't work (changes only the modification date) and the other command to the same as the first.
Moreover using touch command I'm not able to change folders' properties.
Any suggest?
Thanks in advance!