Picture rename: Revision history

From Elch-Wiki
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

17 July 2023

28 May 2023

30 April 2023

  • curprev 08:3608:36, 30 April 2023Roman talk contribs 581 bytes +581 Created page with "== Problem == Gewisse Digi-Cams numerieren die Bilder einfach fortlaufend, statt den Filenamen aus dem Aufnahmedatum zu bilden == Lösung == <pre>picrename.sh</pre> im Home == Script == <pre> #!/usr/bin/bash for file in *JPG do # Uncomment if the file-create/-modify date should be modified to change e.g. timezones! # touch -d "$( date -d @$(( $(stat -c '%Y' $file) - 12*60*60 )) )" $file # Take the file-create/-modify date as the new filename newfile=$(date..."