FG
šŸ’» Software

linux/shell: change a file's modify timestamp relatively?

Fresh5 days ago
Mar 15, 202635869 views
Confidence Score0%
0%

Problem

My camera produces files like and with timestamps on those files. Unfortunately the time wasn't set properly and timestamps are off. I would like to set the file's timestamp on disk. (not the EXIF data). Proposed algorithm: Is there an easy way to do this? maybe one could simplify the calculation u…

Error Output

1 read file's modify date
2 add delta, i.e. hhmmss (preferred: change timezone)
3 write new timestamp

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: linux/shell: change a file's modify timestamp relatively?

Low Risk

can do this: http://linux.about.com/library/cmd/blcmdl_touch.htm To change the mtime, add

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment