diff options
Diffstat (limited to 'content/posts/notes-on-sorting-photos.md')
-rw-r--r-- | content/posts/notes-on-sorting-photos.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/posts/notes-on-sorting-photos.md b/content/posts/notes-on-sorting-photos.md index 22d17a6..6b5cf59 100644 --- a/content/posts/notes-on-sorting-photos.md +++ b/content/posts/notes-on-sorting-photos.md @@ -42,7 +42,7 @@ Now we can invoke `phockup` to sort and move the source files to the destination phockup phone/DCIM/Camera/ pictures/personal/photos/ -m mv phone/Pictures/Screenshots/* pictures/personal/screenshots/ -v rm -rf phone/DCIM/.thumbnails -find phone -maxdepth 2 -empty -delete +find phone -maxdepth 2 -type d -not -path "*/\.*" -empty -delete ``` I also move my screenshots, as I like these being backed up but I don't care about how they're sorted. I also delete unused thumbnails and empty folders, just to keep things tidy. @@ -55,3 +55,5 @@ jdupes pictures/personal -rd ``` And you're done. + +* **Edit 2020-10-26:** Improved empty directory deletion section |