File: tagpix/examples/2.1-subfolder-skipping.txt
Verify 2.1 subfolder skipping, by running on a folder formerly used as a thumbspage gallery. This uses the examples/ls2.py, which is substantially more readable than a Unix "ls -aR". Note that this destroys the thumbspage gallery, by separating its index page, thumbs folder, and images; if used, apply thumbspage to tagpix _destination_ folders, not _source_ folders. Ditto for PyPhoto, which stores a thumbnails-cache file in an images folder. ================================================================================================== 1) SOURCE-FOLDER START ================================================================================================== ~/Desktop$ py3 /MY-STUFF/Code/tagpix/examples/ls2.py reorientation -a ___ reorientation ______ .DS_Store ______ _HOW-MADE.txt ______ galaxys8-1N.jpg ______ galaxys8-3U.jpg ______ HEADER.html ______ index.html ______ ipod6g-1N.JPG ______ ipod6g-3U.JPG ______ restore-originals.py ______ sonydsc-1N.JPG ______ sonydsc-3U.JPG ______ untagged1-jpg.jpg ______ untagged2-scan.jpg ______ reorientation/.other ______ reorientation/_thumbspage _________ .DS_Store _________ galaxys8-1N.jpg _________ galaxys8-1N.jpg.html _________ galaxys8-3U.jpg _________ galaxys8-3U.jpg.html _________ ipod6g-1N.JPG _________ ipod6g-1N.JPG.html _________ ipod6g-3U.JPG _________ ipod6g-3U.JPG.html _________ sonydsc-1N.JPG _________ sonydsc-1N.JPG.html _________ sonydsc-3U.JPG _________ sonydsc-3U.JPG.html _________ untagged1-jpg.jpg _________ untagged1-jpg.jpg.html _________ untagged2-scan.jpg _________ untagged2-scan.jpg.html ______ reorientation/thumbs _________ sonydsc-8L.JPG ~/Desktop$ ================================================================================================== 2) LIST-ONLY RUN ================================================================================================== ~/Desktop$ py3 /MY-STUFF/Code/tagpix/tagpix.py tagpix renames and moves photos to a merged folder; proceed? y Source - pathname of folder with photos to be moved? reorientation Destination - pathname of folder to move items to? test-tagpix Group items into by-year subfolders? y List only: show target names, but do not rename or move? y -------------------------------------------------------------------------------- Analyzing source tree Skipping folder: reorientation/.other Skipping folder: reorientation/_thumbspage Skipping folder: reorientation/thumbs Skipping file: reorientation/.DS_Store ***Unusable Exif tags skipped: "No tags found" for reorientation/untagged1-jpg.jpg -------------------------------------------------------------------------------- Moving PHOTOS: 8 reorientation/galaxys8-1N.jpg => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__galaxys8-1N.jpg reorientation/galaxys8-3U.jpg => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__galaxys8-3U.jpg reorientation/ipod6g-1N.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__ipod6g-1N.JPG reorientation/ipod6g-3U.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__ipod6g-3U.JPG reorientation/sonydsc-1N.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__sonydsc-1N.JPG reorientation/sonydsc-3U.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__sonydsc-3U.JPG reorientation/untagged1-jpg.jpg => test-tagpix/MERGED/PHOTOS/2014/2014-02-18__untagged1-jpg.jpg reorientation/untagged2-scan.jpg => test-tagpix/MERGED/PHOTOS/2013/2013-04-13__untagged2-scan.jpg -------------------------------------------------------------------------------- Moving MOVIES: 0 -------------------------------------------------------------------------------- Moving OTHERS: 4 reorientation/_HOW-MADE.txt => test-tagpix/MERGED/OTHERS/2018/2018-09-25___HOW-MADE.txt reorientation/HEADER.html => test-tagpix/MERGED/OTHERS/2018/2018-09-25__HEADER.html reorientation/index.html => test-tagpix/MERGED/OTHERS/2018/2018-09-25__index.html reorientation/restore-originals.py => test-tagpix/MERGED/OTHERS/2018/2018-09-23__restore-originals.py -------------------------------------------------------------------------------- Bye. ~/Desktop$ ================================================================================================== 3) UPDATES RUN ================================================================================================== ~/Desktop$ py3 /MY-STUFF/Code/tagpix/tagpix.py tagpix renames and moves photos to a merged folder; proceed? y Source - pathname of folder with photos to be moved? reorientation Destination - pathname of folder to move items to? test-tagpix Group items into by-year subfolders? y List only: show target names, but do not rename or move? n -------------------------------------------------------------------------------- Analyzing source tree Skipping folder: reorientation/.other Skipping folder: reorientation/_thumbspage Skipping folder: reorientation/thumbs Skipping file: reorientation/.DS_Store ***Unusable Exif tags skipped: "No tags found" for reorientation/untagged1-jpg.jpg -------------------------------------------------------------------------------- Moving PHOTOS: 8 reorientation/galaxys8-1N.jpg => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__galaxys8-1N.jpg reorientation/galaxys8-3U.jpg => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__galaxys8-3U.jpg reorientation/ipod6g-1N.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__ipod6g-1N.JPG reorientation/ipod6g-3U.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__ipod6g-3U.JPG reorientation/sonydsc-1N.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__sonydsc-1N.JPG reorientation/sonydsc-3U.JPG => test-tagpix/MERGED/PHOTOS/2018/2018-09-23__sonydsc-3U.JPG reorientation/untagged1-jpg.jpg => test-tagpix/MERGED/PHOTOS/2014/2014-02-18__untagged1-jpg.jpg reorientation/untagged2-scan.jpg => test-tagpix/MERGED/PHOTOS/2013/2013-04-13__untagged2-scan.jpg -------------------------------------------------------------------------------- Moving MOVIES: 0 -------------------------------------------------------------------------------- Moving OTHERS: 4 reorientation/_HOW-MADE.txt => test-tagpix/MERGED/OTHERS/2018/2018-09-25___HOW-MADE.txt reorientation/HEADER.html => test-tagpix/MERGED/OTHERS/2018/2018-09-25__HEADER.html reorientation/index.html => test-tagpix/MERGED/OTHERS/2018/2018-09-25__index.html reorientation/restore-originals.py => test-tagpix/MERGED/OTHERS/2018/2018-09-23__restore-originals.py -------------------------------------------------------------------------------- Missed: 19 ['reorientation/.DS_Store', 'reorientation/_thumbspage/.DS_Store', 'reorientation/_thumbspage/galaxys8-1N.jpg', 'reorientation/_thumbspage/galaxys8-1N.jpg.html', 'reorientation/_thumbspage/galaxys8-3U.jpg', 'reorientation/_thumbspage/galaxys8-3U.jpg.html', 'reorientation/_thumbspage/ipod6g-1N.JPG', 'reorientation/_thumbspage/ipod6g-1N.JPG.html', 'reorientation/_thumbspage/ipod6g-3U.JPG', 'reorientation/_thumbspage/ipod6g-3U.JPG.html', 'reorientation/_thumbspage/sonydsc-1N.JPG', 'reorientation/_thumbspage/sonydsc-1N.JPG.html', 'reorientation/_thumbspage/sonydsc-3U.JPG', 'reorientation/_thumbspage/sonydsc-3U.JPG.html', 'reorientation/_thumbspage/untagged1-jpg.jpg', 'reorientation/_thumbspage/untagged1-jpg.jpg.html', 'reorientation/_thumbspage/untagged2-scan.jpg', 'reorientation/_thumbspage/untagged2-scan.jpg.html', 'reorientation/thumbs/sonydsc-8L.JPG'] -------------------------------------------------------------------------------- Bye. ~/Desktop$ ================================================================================================== 2) SOURCE-FOLDER RESULT ================================================================================================== ~/Desktop$ py3 /MY-STUFF/Code/tagpix/examples/ls2.py reorientation -a ___ reorientation ______ .DS_Store ______ reorientation/.other ______ reorientation/_thumbspage _________ .DS_Store _________ galaxys8-1N.jpg _________ galaxys8-1N.jpg.html _________ galaxys8-3U.jpg _________ galaxys8-3U.jpg.html _________ ipod6g-1N.JPG _________ ipod6g-1N.JPG.html _________ ipod6g-3U.JPG _________ ipod6g-3U.JPG.html _________ sonydsc-1N.JPG _________ sonydsc-1N.JPG.html _________ sonydsc-3U.JPG _________ sonydsc-3U.JPG.html _________ untagged1-jpg.jpg _________ untagged1-jpg.jpg.html _________ untagged2-scan.jpg _________ untagged2-scan.jpg.html ______ reorientation/thumbs _________ sonydsc-8L.JPG ~/Desktop$ ================================================================================================== 5) DESTINATION-FOLDER RESULT ================================================================================================== ~/Desktop$ py3 /MY-STUFF/Code/tagpix/examples/ls2.py test-tagpix -a ___ test-tagpix ______ test-tagpix/MERGED _________ test-tagpix/MERGED/MOVIES _________ test-tagpix/MERGED/OTHERS ____________ test-tagpix/MERGED/OTHERS/2018 _______________ 2018-09-23__restore-originals.py _______________ 2018-09-25___HOW-MADE.txt _______________ 2018-09-25__HEADER.html _______________ 2018-09-25__index.html _________ test-tagpix/MERGED/PHOTOS ____________ test-tagpix/MERGED/PHOTOS/2013 _______________ 2013-04-13__untagged2-scan.jpg ____________ test-tagpix/MERGED/PHOTOS/2014 _______________ 2014-02-18__untagged1-jpg.jpg ____________ test-tagpix/MERGED/PHOTOS/2018 _______________ 2018-09-23__galaxys8-1N.jpg _______________ 2018-09-23__galaxys8-3U.jpg _______________ 2018-09-23__ipod6g-1N.JPG _______________ 2018-09-23__ipod6g-3U.JPG _______________ 2018-09-23__sonydsc-1N.JPG _______________ 2018-09-23__sonydsc-3U.JPG ~/Desktop$