Expand description
smugmug-cli sort: how folders list their contents and how albums list
their photos, for one folder or album or, with --recursive, everything
under it.
These are different settings with different values, so they’re given
separately (--folders-by, --albums-by) and a run only touches the kind
you named: --recursive --folders-by name never changes an album. A
node that already has the setting is left alone, so a run can be repeated
(SmugMug’s default for a new folder is by date modified, newest first, so
folders made by older versions of this tool need fixing; later runs only
find the ones made since).
Structs§
- Sort
Options - Sort
Summary - What a run did (or, on a dry run, would do).
Enums§
- Album
Sort - How an album lists its photos.
- Direction
- Folder
Sort - How a folder lists its contents.
Traits§
- Sort
Backend - The SmugMug calls sorting needs.
Functions§
- print_
summary - Tell the user what a run did, or would do.
- run
- Set the sort order of
options.path(and, if recursive, everything under it). Failures on single items are collected in the summary and don’t stop the rest.