Touch command tips and tricks
Changing modification time using touch:
touch -d '-4 day' filename touch -d '-4 hour' filename touch -d "30 days ago" filename
Setting Timestamp :
touch -t 201606101712 filename
Changing modification time using touch:
touch -d '-4 day' filename touch -d '-4 hour' filename touch -d "30 days ago" filename
Setting Timestamp :
touch -t 201606101712 filename