choose what to arrange: -kinds, -exclude, am survey
-kinds picks any of image, raw, video (default all). -exclude skips files and whole directories by name glob, and can be repeated. am survey stats media per directory (counts by kind, videos over 1G, sizes) so things like ripped DVDs stand out before arranging. It never opens files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,16 @@ header (mov, mp4, m4v, 3gp), or the file's mtime as a last resort.
|
||||
|
||||
go install mcquay.me/arrange/cmd/am@latest
|
||||
|
||||
# where's the media? per folder: images, raw, videos, videos over 1G
|
||||
# (ripped movies stand out), sizes. Only stats files. Prints folder names.
|
||||
am survey ~/Pictures
|
||||
am survey -depth=2 ~/Pictures
|
||||
|
||||
# pick what to grab: -kinds is any of image,raw,video (default all), and
|
||||
# -exclude skips matching file or folder names (repeatable)
|
||||
am arr -n -kinds=image ~/Pictures /mnt/store
|
||||
am arr -n -exclude=VIDEO_TS -exclude='*.vob' -exclude=DVDs ~/Pictures /mnt/store
|
||||
|
||||
# see what would happen; prints new/dup<TAB>src<TAB>content<TAB>date dir
|
||||
am arr -n ~/Pictures /mnt/store > plan.tsv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user