Solved Altering date of file using touch + date '-v'

According to date() you can show the date three days ago using

date -v -3d

and you can change the date of a file using touch -d ****** filename

I'm trying to do something like

touch -d `date -v -3d` filename

but can't find the magic words.

Please help
 
Back
Top