Created
August 28, 2021 04:09
-
-
Save dereksz/de731f716bb4ab5fdddf776407531c7c to your computer and use it in GitHub Desktop.
Useful Commands for Tidying up my File System
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rmlint | |
# Pre-run to generate checksumms & attach in extended attributes | |
rmlint --xattr --progress <some dirs> -- <master dir> | |
# Renaming image files dith date rather than DSC... | |
find -iname 'DSC*.jpg' -execdir renrot --mtime --name-template="%Y-%m-%d@%H'%M'%S" -- "{}" \+ | |
# Need to use `-execdir`r `renrot` will move all files to current folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment