File: tagpix/examples/2.1-all-transfer-modes.txt

============================================================================================
A comprehensive demo that verifies and illustrates the 3 file-transfer modes available 
in tagpix 2.1: file-move, copy-only, and copy-and-delete (the last 2 are new in 2.1).  

All told, this demo does 4 tagpix runs, and 6 result-tree verification comparisons.
Identical source folders are used for all three modes.  They reside on a USB exFAT 
flashdrive when this works, and the destination is the PCs internal SSD.  As expected, 
cross-drive moves fail (in file-move mode), but copies always work (in both copy modes).  

This was run on Mac OS, which also creates bogus "._*" resource-fork ('apple double')
files on the USB drive, that are called out and skipped correctly by the script (and 
silently vaporize when the main data-fork file is deleted by the script on Mac OS).  

Some result lines have been trimmed here for space (and humanity) at the "...etc...", 
and most confirmation steps use diffall.py to run byte-for-byte folder-tree comparisons, 
a utility available in the Mergeall package at learning-python.com/mergeall.html.

Egalitarians: see also 2.1-all-transfer-modes_windows.txt in this folder for the same 
tests run on Windows, and 2.1-all-transfer-modes_linux.txt for the same tests on Linux.
These platforms' results are the same as those here, but both had to skip over the 
Mac's resource-fork nonsense left on the exFAT drive used for the test.
============================================================================================




********************************************************************************************
1) RUN FILE-MOVE mode: all moves fail when run across DIFFERENT DRIVES, as expected
********************************************************************************************

~/Desktop/verify-tagpix$ 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? /Volumes/EXFATUSB/reorientation-fm
Destination - pathname of folder to move items to? testmodes-fm
Group items into by-year subfolders? y
List only: show target names, but do not rename or move? n
--------------------------------------------------------------------------------
Analyzing source tree
Skipping folder: /Volumes/EXFATUSB/reorientation-fm/_thumbspage
Skipping file: /Volumes/EXFATUSB/reorientation-fm/.DS_Store
Skipping file: /Volumes/EXFATUSB/reorientation-fm/._.DS_Store
Skipping file: /Volumes/EXFATUSB/reorientation-fm/.__HOW-MADE.txt
Skipping file: /Volumes/EXFATUSB/reorientation-fm/._galaxys8-1N.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-fm/._galaxys8-3U.jpg
...etc..
***Unusable Exif tags skipped: "No tags found" for /Volumes/EXFATUSB/reorientation-fm/untagged1-jpg.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-fm/._untagged1-jpg.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-fm/._untagged2-scan.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-fm/._untagged3-gif.gif
Skipping file: /Volumes/EXFATUSB/reorientation-fm/._untagged4-png.png
--------------------------------------------------------------------------------
Moving PHOTOS: 14
/Volumes/EXFATUSB/reorientation-fm/galaxys8-1N.jpg => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-1N.jpg
***Error moving: /Volumes/EXFATUSB/reorientation-fm/galaxys8-1N.jpg
It was not renamed or moved, but the run continued and all non-error items were moved.
Resolve the issue and rerun tagpix on your source folder to move this item too.
The Python error message follows:
OSError => [Errno 18] Cross-device link: '/Volumes/EXFATUSB/reorientation-fm/galaxys8-1N.jpg' -> 'testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-1N.jpg'
/Volumes/EXFATUSB/reorientation-fm/galaxys8-3U.jpg => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-3U.jpg
***Error moving: /Volumes/EXFATUSB/reorientation-fm/galaxys8-3U.jpg
It was not renamed or moved, but the run continued and all non-error items were moved.
Resolve the issue and rerun tagpix on your source folder to move this item too.
The Python error message follows:
OSError => [Errno 18] Cross-device link: '/Volumes/EXFATUSB/reorientation-fm/galaxys8-3U.jpg' -> 'testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-3U.jpg'
...etc...
/Volumes/EXFATUSB/reorientation-fm/untagged2-scan.jpg => testmodes-fm/MERGED/PHOTOS/2013/2013-04-13__untagged2-scan.jpg
***Error moving: /Volumes/EXFATUSB/reorientation-fm/untagged2-scan.jpg
It was not renamed or moved, but the run continued and all non-error items were moved.
Resolve the issue and rerun tagpix on your source folder to move this item too.
The Python error message follows:
OSError => [Errno 18] Cross-device link: '/Volumes/EXFATUSB/reorientation-fm/untagged2-scan.jpg' -> 'testmodes-fm/MERGED/PHOTOS/2013/2013-04-13__untagged2-scan.jpg'
--------------------------------------------------------------------------------
Moving MOVIES: 0
--------------------------------------------------------------------------------
Moving OTHERS: 6
/Volumes/EXFATUSB/reorientation-fm/_HOW-MADE.txt => testmodes-fm/MERGED/OTHERS/2018/2018-09-25___HOW-MADE.txt
***Error moving: /Volumes/EXFATUSB/reorientation-fm/_HOW-MADE.txt
It was not renamed or moved, but the run continued and all non-error items were moved.
Resolve the issue and rerun tagpix on your source folder to move this item too.
The Python error message follows:
OSError => [Errno 18] Cross-device link: '/Volumes/EXFATUSB/reorientation-fm/_HOW-MADE.txt' -> 'testmodes-fm/MERGED/OTHERS/2018/2018-09-25___HOW-MADE.txt'
/Volumes/EXFATUSB/reorientation-fm/HEADER.html => testmodes-fm/MERGED/OTHERS/2018/2018-09-25__HEADER.html
***Error moving: /Volumes/EXFATUSB/reorientation-fm/HEADER.html
It was not renamed or moved, but the run continued and all non-error items were moved.
Resolve the issue and rerun tagpix on your source folder to move this item too.
The Python error message follows:
OSError => [Errno 18] Cross-device link: '/Volumes/EXFATUSB/reorientation-fm/HEADER.html' -> 'testmodes-fm/MERGED/OTHERS/2018/2018-09-25__HEADER.html'
...etc...
/Volumes/EXFATUSB/reorientation-fm/untagged4-png.png => testmodes-fm/MERGED/OTHERS/2018/2018-09-23__untagged4-png.png
***Error moving: /Volumes/EXFATUSB/reorientation-fm/untagged4-png.png
It was not renamed or moved, but the run continued and all non-error items were moved.
Resolve the issue and rerun tagpix on your source folder to move this item too.
The Python error message follows:
OSError => [Errno 18] Cross-device link: '/Volumes/EXFATUSB/reorientation-fm/untagged4-png.png' -> 'testmodes-fm/MERGED/OTHERS/2018/2018-09-23__untagged4-png.png'
--------------------------------------------------------------------------------
Missed: 71
['/Volumes/EXFATUSB/reorientation-fm/.DS_Store',
 '/Volumes/EXFATUSB/reorientation-fm/._.DS_Store',
 '/Volumes/EXFATUSB/reorientation-fm/_HOW-MADE.txt',
 '/Volumes/EXFATUSB/reorientation-fm/.__HOW-MADE.txt',
 '/Volumes/EXFATUSB/reorientation-fm/galaxys8-1N.jpg',
 '/Volumes/EXFATUSB/reorientation-fm/._galaxys8-1N.jpg',
 '/Volumes/EXFATUSB/reorientation-fm/galaxys8-3U.jpg',
...etc...
 '/Volumes/EXFATUSB/reorientation-fm/_thumbspage/galaxys8-1N.jpg',
 '/Volumes/EXFATUSB/reorientation-fm/_thumbspage/galaxys8-1N.jpg.html',
 '/Volumes/EXFATUSB/reorientation-fm/_thumbspage/galaxys8-3U.jpg',
 '/Volumes/EXFATUSB/reorientation-fm/_thumbspage/galaxys8-3U.jpg.html',
...etc...
 '/Volumes/EXFATUSB/reorientation-fm/_thumbspage/untagged4-png.png.html']
--------------------------------------------------------------------------------
Bye.




********************************************************************************************
2) RERUN FILE-MOVE mode: all moves work when source and destination are on SAME DRIVE
********************************************************************************************

~/Desktop/verify-tagpix$ 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-fm
Destination - pathname of folder to move items to? testmodes-fm
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-fm/_thumbspage
Skipping file: reorientation-fm/.DS_Store
***Unusable Exif tags skipped: "No tags found" for reorientation-fm/untagged1-jpg.jpg
--------------------------------------------------------------------------------
Moving PHOTOS: 14
reorientation-fm/galaxys8-1N.jpg => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-1N.jpg
reorientation-fm/galaxys8-3U.jpg => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-3U.jpg
reorientation-fm/galaxys8-6R.jpg => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-6R.jpg
reorientation-fm/galaxys8-8L.jpg => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__galaxys8-8L.jpg
reorientation-fm/ipod6g-1N.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__ipod6g-1N.JPG
reorientation-fm/ipod6g-3U.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__ipod6g-3U.JPG
reorientation-fm/ipod6g-6R.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__ipod6g-6R.JPG
reorientation-fm/ipod6g-8L.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__ipod6g-8L.JPG
reorientation-fm/sonydsc-1N.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__sonydsc-1N.JPG
reorientation-fm/sonydsc-3U.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__sonydsc-3U.JPG
reorientation-fm/sonydsc-6R.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__sonydsc-6R.JPG
reorientation-fm/sonydsc-8L.JPG => testmodes-fm/MERGED/PHOTOS/2018/2018-09-23__sonydsc-8L.JPG
reorientation-fm/untagged1-jpg.jpg => testmodes-fm/MERGED/PHOTOS/2014/2014-02-18__untagged1-jpg.jpg
reorientation-fm/untagged2-scan.jpg => testmodes-fm/MERGED/PHOTOS/2013/2013-04-13__untagged2-scan.jpg
--------------------------------------------------------------------------------
Moving MOVIES: 0
--------------------------------------------------------------------------------
Moving OTHERS: 6
reorientation-fm/_HOW-MADE.txt => testmodes-fm/MERGED/OTHERS/2018/2018-09-25___HOW-MADE.txt
reorientation-fm/HEADER.html => testmodes-fm/MERGED/OTHERS/2018/2018-09-25__HEADER.html
reorientation-fm/index.html => testmodes-fm/MERGED/OTHERS/2018/2018-09-25__index.html
reorientation-fm/restore-originals.py => testmodes-fm/MERGED/OTHERS/2018/2018-09-23__restore-originals.py
reorientation-fm/untagged3-gif.gif => testmodes-fm/MERGED/OTHERS/2016/2016-06-25__untagged3-gif.gif
reorientation-fm/untagged4-png.png => testmodes-fm/MERGED/OTHERS/2018/2018-09-23__untagged4-png.png
--------------------------------------------------------------------------------
Missed: 33
['reorientation-fm/.DS_Store',
 'reorientation-fm/_thumbspage/galaxys8-1N.jpg',
 'reorientation-fm/_thumbspage/galaxys8-1N.jpg.html',
 'reorientation-fm/_thumbspage/galaxys8-3U.jpg',
...etc...
 'reorientation-fm/_thumbspage/untagged4-png.png.html']
--------------------------------------------------------------------------------
Bye.




********************************************************************************************
3) RUN COPY-ONLY mode: all cross-drive transfers work, and source-tree unchanged
********************************************************************************************

<Change user-configs.py for this mode, per its docs>

~/Desktop/verify-tagpix$ py3 /MY-STUFF/Code/tagpix/tagpix.py 
tagpix renames and copies photos to a merged folder; proceed? y
Source - pathname of folder with photos to be copied? /Volumes/EXFATUSB/reorientation-co
Destination - pathname of folder to copy items to? testmodes-co
Group items into by-year subfolders? y
List only: show target names, but do not rename or copy? n
--------------------------------------------------------------------------------
Analyzing source tree
Skipping folder: /Volumes/EXFATUSB/reorientation-co/_thumbspage
Skipping file: /Volumes/EXFATUSB/reorientation-co/.DS_Store
Skipping file: /Volumes/EXFATUSB/reorientation-co/._.DS_Store
Skipping file: /Volumes/EXFATUSB/reorientation-co/.__HOW-MADE.txt
Skipping file: /Volumes/EXFATUSB/reorientation-co/._galaxys8-1N.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-co/._galaxys8-3U.jpg
...etc...
***Unusable Exif tags skipped: "No tags found" for /Volumes/EXFATUSB/reorientation-co/untagged1-jpg.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-co/._untagged1-jpg.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-co/._untagged2-scan.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-co/._untagged3-gif.gif
Skipping file: /Volumes/EXFATUSB/reorientation-co/._untagged4-png.png
--------------------------------------------------------------------------------
Copying PHOTOS: 14
/Volumes/EXFATUSB/reorientation-co/galaxys8-1N.jpg => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__galaxys8-1N.jpg
/Volumes/EXFATUSB/reorientation-co/galaxys8-3U.jpg => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__galaxys8-3U.jpg
/Volumes/EXFATUSB/reorientation-co/galaxys8-6R.jpg => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__galaxys8-6R.jpg
/Volumes/EXFATUSB/reorientation-co/galaxys8-8L.jpg => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__galaxys8-8L.jpg
/Volumes/EXFATUSB/reorientation-co/ipod6g-1N.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__ipod6g-1N.JPG
/Volumes/EXFATUSB/reorientation-co/ipod6g-3U.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__ipod6g-3U.JPG
/Volumes/EXFATUSB/reorientation-co/ipod6g-6R.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__ipod6g-6R.JPG
/Volumes/EXFATUSB/reorientation-co/ipod6g-8L.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__ipod6g-8L.JPG
/Volumes/EXFATUSB/reorientation-co/sonydsc-1N.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__sonydsc-1N.JPG
/Volumes/EXFATUSB/reorientation-co/sonydsc-3U.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__sonydsc-3U.JPG
/Volumes/EXFATUSB/reorientation-co/sonydsc-6R.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__sonydsc-6R.JPG
/Volumes/EXFATUSB/reorientation-co/sonydsc-8L.JPG => testmodes-co/MERGED/PHOTOS/2018/2018-09-23__sonydsc-8L.JPG
/Volumes/EXFATUSB/reorientation-co/untagged1-jpg.jpg => testmodes-co/MERGED/PHOTOS/2014/2014-02-18__untagged1-jpg.jpg
/Volumes/EXFATUSB/reorientation-co/untagged2-scan.jpg => testmodes-co/MERGED/PHOTOS/2013/2013-04-13__untagged2-scan.jpg
--------------------------------------------------------------------------------
Copying MOVIES: 0
--------------------------------------------------------------------------------
Copying OTHERS: 6
/Volumes/EXFATUSB/reorientation-co/_HOW-MADE.txt => testmodes-co/MERGED/OTHERS/2018/2018-09-25___HOW-MADE.txt
/Volumes/EXFATUSB/reorientation-co/HEADER.html => testmodes-co/MERGED/OTHERS/2018/2018-09-25__HEADER.html
/Volumes/EXFATUSB/reorientation-co/index.html => testmodes-co/MERGED/OTHERS/2018/2018-09-25__index.html
/Volumes/EXFATUSB/reorientation-co/restore-originals.py => testmodes-co/MERGED/OTHERS/2018/2018-09-23__restore-originals.py
/Volumes/EXFATUSB/reorientation-co/untagged3-gif.gif => testmodes-co/MERGED/OTHERS/2016/2016-06-25__untagged3-gif.gif
/Volumes/EXFATUSB/reorientation-co/untagged4-png.png => testmodes-co/MERGED/OTHERS/2018/2018-09-23__untagged4-png.png
--------------------------------------------------------------------------------
Nothing was removed from the source tree
Bye.




********************************************************************************************
4) RUN COPY-AND-DELETE mode: all cross-drive transfers work, files deleted from source tree
********************************************************************************************

<Change user-configs.py for this mode, per its docs>

~/Desktop/verify-tagpix$ 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? /Volumes/EXFATUSB/reorientation-cnd
Destination - pathname of folder to move items to? testmodes-cnd
Group items into by-year subfolders? y
List only: show target names, but do not rename or move? n
--------------------------------------------------------------------------------
Analyzing source tree
Skipping folder: /Volumes/EXFATUSB/reorientation-cnd/_thumbspage
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/.DS_Store
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/._.DS_Store
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/.__HOW-MADE.txt
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/._galaxys8-1N.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/._galaxys8-3U.jpg
...etc...
***Unusable Exif tags skipped: "No tags found" for /Volumes/EXFATUSB/reorientation-cnd/untagged1-jpg.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/._untagged1-jpg.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/._untagged2-scan.jpg
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/._untagged3-gif.gif
Skipping file: /Volumes/EXFATUSB/reorientation-cnd/._untagged4-png.png
--------------------------------------------------------------------------------
Moving PHOTOS: 14
/Volumes/EXFATUSB/reorientation-cnd/galaxys8-1N.jpg => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__galaxys8-1N.jpg
/Volumes/EXFATUSB/reorientation-cnd/galaxys8-3U.jpg => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__galaxys8-3U.jpg
/Volumes/EXFATUSB/reorientation-cnd/galaxys8-6R.jpg => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__galaxys8-6R.jpg
/Volumes/EXFATUSB/reorientation-cnd/galaxys8-8L.jpg => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__galaxys8-8L.jpg
/Volumes/EXFATUSB/reorientation-cnd/ipod6g-1N.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__ipod6g-1N.JPG
/Volumes/EXFATUSB/reorientation-cnd/ipod6g-3U.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__ipod6g-3U.JPG
/Volumes/EXFATUSB/reorientation-cnd/ipod6g-6R.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__ipod6g-6R.JPG
/Volumes/EXFATUSB/reorientation-cnd/ipod6g-8L.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__ipod6g-8L.JPG
/Volumes/EXFATUSB/reorientation-cnd/sonydsc-1N.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__sonydsc-1N.JPG
/Volumes/EXFATUSB/reorientation-cnd/sonydsc-3U.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__sonydsc-3U.JPG
/Volumes/EXFATUSB/reorientation-cnd/sonydsc-6R.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__sonydsc-6R.JPG
/Volumes/EXFATUSB/reorientation-cnd/sonydsc-8L.JPG => testmodes-cnd/MERGED/PHOTOS/2018/2018-09-23__sonydsc-8L.JPG
/Volumes/EXFATUSB/reorientation-cnd/untagged1-jpg.jpg => testmodes-cnd/MERGED/PHOTOS/2014/2014-02-18__untagged1-jpg.jpg
/Volumes/EXFATUSB/reorientation-cnd/untagged2-scan.jpg => testmodes-cnd/MERGED/PHOTOS/2013/2013-04-13__untagged2-scan.jpg
--------------------------------------------------------------------------------
Moving MOVIES: 0
--------------------------------------------------------------------------------
Moving OTHERS: 6
/Volumes/EXFATUSB/reorientation-cnd/_HOW-MADE.txt => testmodes-cnd/MERGED/OTHERS/2018/2018-09-25___HOW-MADE.txt
/Volumes/EXFATUSB/reorientation-cnd/HEADER.html => testmodes-cnd/MERGED/OTHERS/2018/2018-09-25__HEADER.html
/Volumes/EXFATUSB/reorientation-cnd/index.html => testmodes-cnd/MERGED/OTHERS/2018/2018-09-25__index.html
/Volumes/EXFATUSB/reorientation-cnd/restore-originals.py => testmodes-cnd/MERGED/OTHERS/2018/2018-09-23__restore-originals.py
/Volumes/EXFATUSB/reorientation-cnd/untagged3-gif.gif => testmodes-cnd/MERGED/OTHERS/2016/2016-06-25__untagged3-gif.gif
/Volumes/EXFATUSB/reorientation-cnd/untagged4-png.png => testmodes-cnd/MERGED/OTHERS/2018/2018-09-23__untagged4-png.png
--------------------------------------------------------------------------------
Missed: 34
['/Volumes/EXFATUSB/reorientation-cnd/.DS_Store',
 '/Volumes/EXFATUSB/reorientation-cnd/._.DS_Store',
 '/Volumes/EXFATUSB/reorientation-cnd/_thumbspage/galaxys8-1N.jpg',
 '/Volumes/EXFATUSB/reorientation-cnd/_thumbspage/galaxys8-1N.jpg.html',
 '/Volumes/EXFATUSB/reorientation-cnd/_thumbspage/galaxys8-3U.jpg',
...etc...
 '/Volumes/EXFATUSB/reorientation-cnd/_thumbspage/untagged4-png.png.html']
--------------------------------------------------------------------------------
Bye.




********************************************************************************************
5) CONFIRM that COPY-AND-DELETE's RESULT tree same as FILE-MOVE's
********************************************************************************************

~/Desktop/verify-tagpix$ py3 /MY-STUFF/Code/mergeall/diffall.py testmodes-fm testmodes-cnd -skipcruft 
--------------------
Comparing testmodes-fm to testmodes-cnd
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED to testmodes-cnd/MERGED
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/MOVIES to testmodes-cnd/MERGED/MOVIES
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/OTHERS to testmodes-cnd/MERGED/OTHERS
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/OTHERS/2016 to testmodes-cnd/MERGED/OTHERS/2016
Directory lists are identical
Comparing contents
2016-06-25__untagged3-gif.gif matches
--------------------
Comparing testmodes-fm/MERGED/OTHERS/2018 to testmodes-cnd/MERGED/OTHERS/2018
Directory lists are identical
Comparing contents
2018-09-23__restore-originals.py matches
2018-09-23__untagged4-png.png matches
2018-09-25___HOW-MADE.txt matches
2018-09-25__HEADER.html matches
2018-09-25__index.html matches
--------------------
Comparing testmodes-fm/MERGED/PHOTOS to testmodes-cnd/MERGED/PHOTOS
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/PHOTOS/2013 to testmodes-cnd/MERGED/PHOTOS/2013
Directory lists are identical
Comparing contents
2013-04-13__untagged2-scan.jpg matches
--------------------
Comparing testmodes-fm/MERGED/PHOTOS/2014 to testmodes-cnd/MERGED/PHOTOS/2014
Directory lists are identical
Comparing contents
2014-02-18__untagged1-jpg.jpg matches
--------------------
Comparing testmodes-fm/MERGED/PHOTOS/2018 to testmodes-cnd/MERGED/PHOTOS/2018
Directory lists are identical
Comparing contents
2018-09-23__galaxys8-1N.jpg matches
2018-09-23__galaxys8-3U.jpg matches
2018-09-23__galaxys8-6R.jpg matches
2018-09-23__galaxys8-8L.jpg matches
2018-09-23__ipod6g-1N.JPG matches
2018-09-23__ipod6g-3U.JPG matches
2018-09-23__ipod6g-6R.JPG matches
2018-09-23__ipod6g-8L.JPG matches
2018-09-23__sonydsc-1N.JPG matches
2018-09-23__sonydsc-3U.JPG matches
2018-09-23__sonydsc-6R.JPG matches
2018-09-23__sonydsc-8L.JPG matches
================================================================================
Runtime hrs:mins:secs = 0:0:0.07
Dirs checked 10, Files checked: 20, Files skipped: 0
System metadata (cruft) files were skipped
No diffs found.
End of report.




********************************************************************************************
6) CONFIRM that COPY-ONLY's RESULT tree same as FILE-MOVE's
********************************************************************************************

~/Desktop/verify-tagpix$ py3 /MY-STUFF/Code/mergeall/diffall.py testmodes-fm testmodes-co -skipcruft 
--------------------
Comparing testmodes-fm to testmodes-co
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED to testmodes-co/MERGED
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/MOVIES to testmodes-co/MERGED/MOVIES
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/OTHERS to testmodes-co/MERGED/OTHERS
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/OTHERS/2016 to testmodes-co/MERGED/OTHERS/2016
Directory lists are identical
Comparing contents
2016-06-25__untagged3-gif.gif matches
--------------------
Comparing testmodes-fm/MERGED/OTHERS/2018 to testmodes-co/MERGED/OTHERS/2018
Directory lists are identical
Comparing contents
2018-09-23__restore-originals.py matches
2018-09-23__untagged4-png.png matches
2018-09-25___HOW-MADE.txt matches
2018-09-25__HEADER.html matches
2018-09-25__index.html matches
--------------------
Comparing testmodes-fm/MERGED/PHOTOS to testmodes-co/MERGED/PHOTOS
Directory lists are identical
Comparing contents
--------------------
Comparing testmodes-fm/MERGED/PHOTOS/2013 to testmodes-co/MERGED/PHOTOS/2013
Directory lists are identical
Comparing contents
2013-04-13__untagged2-scan.jpg matches
--------------------
Comparing testmodes-fm/MERGED/PHOTOS/2014 to testmodes-co/MERGED/PHOTOS/2014
Directory lists are identical
Comparing contents
2014-02-18__untagged1-jpg.jpg matches
--------------------
Comparing testmodes-fm/MERGED/PHOTOS/2018 to testmodes-co/MERGED/PHOTOS/2018
Directory lists are identical
Comparing contents
2018-09-23__galaxys8-1N.jpg matches
2018-09-23__galaxys8-3U.jpg matches
2018-09-23__galaxys8-6R.jpg matches
2018-09-23__galaxys8-8L.jpg matches
2018-09-23__ipod6g-1N.JPG matches
2018-09-23__ipod6g-3U.JPG matches
2018-09-23__ipod6g-6R.JPG matches
2018-09-23__ipod6g-8L.JPG matches
2018-09-23__sonydsc-1N.JPG matches
2018-09-23__sonydsc-3U.JPG matches
2018-09-23__sonydsc-6R.JPG matches
2018-09-23__sonydsc-8L.JPG matches
================================================================================
Runtime hrs:mins:secs = 0:0:0.03
Dirs checked 10, Files checked: 20, Files skipped: 0
System metadata (cruft) files were skipped
No diffs found.
End of report.




********************************************************************************************
7) CONFIRM that COPY-AND-DELETE's source tree same as FILE-MOVE's (both changed)
********************************************************************************************

~/Desktop/verify-tagpix$ py3 /MY-STUFF/Code/mergeall/diffall.py reorientation-fm /Volumes/EXFATUSB/reorientation-cnd -skipcruft 
--------------------
Comparing reorientation-fm to /Volumes/EXFATUSB/reorientation-cnd
Directory lists are identical
Comparing contents
--------------------
Comparing reorientation-fm/_thumbspage to /Volumes/EXFATUSB/reorientation-cnd/_thumbspage
Directory lists are identical
Comparing contents
galaxys8-1N.jpg matches
galaxys8-1N.jpg.html matches
galaxys8-3U.jpg matches
galaxys8-3U.jpg.html matches
...etc...
untagged4-png.png matches
untagged4-png.png.html matches
================================================================================
Runtime hrs:mins:secs = 0:0:0.04
Dirs checked 2, Files checked: 32, Files skipped: 0
System metadata (cruft) files were skipped
No diffs found.
End of report.




********************************************************************************************
8) CONFIRM that COPY-ONLY's SOURCE tree differs from FILE-MOVE's (unchanged, changed)
********************************************************************************************

~/Desktop/verify-tagpix$ py3 /MY-STUFF/Code/mergeall/diffall.py reorientation-fm /Volumes/EXFATUSB/reorientation-co -skipcruft 
--------------------
Comparing reorientation-fm to /Volumes/EXFATUSB/reorientation-co
*UNIQUE items in /Volumes/EXFATUSB/reorientation-co:
... _HOW-MADE.txt
... galaxys8-1N.jpg
... galaxys8-3U.jpg
... galaxys8-6R.jpg
... galaxys8-8L.jpg
... HEADER.html
... index.html
... ipod6g-1N.JPG
... ipod6g-3U.JPG
... ipod6g-6R.JPG
... ipod6g-8L.JPG
... restore-originals.py
... sonydsc-1N.JPG
... sonydsc-3U.JPG
... sonydsc-6R.JPG
... sonydsc-8L.JPG
... untagged1-jpg.jpg
... untagged2-scan.jpg
... untagged3-gif.gif
... untagged4-png.png
Comparing contents
--------------------
Comparing reorientation-fm/_thumbspage to /Volumes/EXFATUSB/reorientation-co/_thumbspage
Directory lists are identical
Comparing contents
galaxys8-1N.jpg matches
galaxys8-1N.jpg.html matches
galaxys8-3U.jpg matches
galaxys8-3U.jpg.html matches
...etc...
untagged4-png.png matches
untagged4-png.png.html matches
================================================================================
Runtime hrs:mins:secs = 0:0:0.04
Dirs checked 2, Files checked: 32, Files skipped: 0
System metadata (cruft) files were skipped
Diffs found: 1
- items UNIQUE at [reorientation-fm] - [/Volumes/EXFATUSB/reorientation-co]
End of report.




********************************************************************************************
9) CONFIRM that COPY-ONLY's SOURCE tree is the same as it started out (no changes made)
********************************************************************************************

~/Desktop/verify-tagpix$ py3 /MY-STUFF/Code/mergeall/diffall.py reorientation-co /Volumes/EXFATUSB/reorientation-co -skipcruft 
--------------------
Comparing reorientation-co to /Volumes/EXFATUSB/reorientation-co
Directory lists are identical
Comparing contents
_HOW-MADE.txt matches
galaxys8-1N.jpg matches
galaxys8-3U.jpg matches
galaxys8-6R.jpg matches
galaxys8-8L.jpg matches
HEADER.html matches
index.html matches
ipod6g-1N.JPG matches
ipod6g-3U.JPG matches
ipod6g-6R.JPG matches
ipod6g-8L.JPG matches
restore-originals.py matches
sonydsc-1N.JPG matches
sonydsc-3U.JPG matches
sonydsc-6R.JPG matches
sonydsc-8L.JPG matches
untagged1-jpg.jpg matches
untagged2-scan.jpg matches
untagged3-gif.gif matches
untagged4-png.png matches
--------------------
Comparing reorientation-co/_thumbspage to /Volumes/EXFATUSB/reorientation-co/_thumbspage
Directory lists are identical
Comparing contents
galaxys8-1N.jpg matches
galaxys8-1N.jpg.html matches
galaxys8-3U.jpg matches
galaxys8-3U.jpg.html matches
...etc...
untagged4-png.png matches
untagged4-png.png.html matches
================================================================================
Runtime hrs:mins:secs = 0:0:0.08
Dirs checked 2, Files checked: 52, Files skipped: 0
System metadata (cruft) files were skipped
No diffs found.
End of report.




********************************************************************************************
10) CONFIRM that COPY modes' RESULT trees also have the same timestamps as FILE-MOVE's
********************************************************************************************

~/Desktop/verify-tagpix$ py3 /MY-STUFF/Code/mergeall/mergeall.py testmodes-fm testmodes-cnd -report -skipcruft 
Starting.
------------------------------------------------------------------------------- 
*Collecting tree differences
Skipping system cruft (metadata) files in both FROM and TO
comparing [testmodes-fm] [testmodes-cnd]
comparing [testmodes-fm/MERGED] [testmodes-cnd/MERGED]
comparing [testmodes-fm/MERGED/MOVIES] [testmodes-cnd/MERGED/MOVIES]
comparing [testmodes-fm/MERGED/OTHERS] [testmodes-cnd/MERGED/OTHERS]
comparing [testmodes-fm/MERGED/OTHERS/2016] [testmodes-cnd/MERGED/OTHERS/2016]
comparing [testmodes-fm/MERGED/OTHERS/2018] [testmodes-cnd/MERGED/OTHERS/2018]
comparing [testmodes-fm/MERGED/PHOTOS] [testmodes-cnd/MERGED/PHOTOS]
comparing [testmodes-fm/MERGED/PHOTOS/2013] [testmodes-cnd/MERGED/PHOTOS/2013]
comparing [testmodes-fm/MERGED/PHOTOS/2014] [testmodes-cnd/MERGED/PHOTOS/2014]
comparing [testmodes-fm/MERGED/PHOTOS/2018] [testmodes-cnd/MERGED/PHOTOS/2018]
Phase runtime: 0.003731878001417499
------------------------------------------------------------------------------- 
*Reporting tree differences
-------------------------------------------------------------------------------
SAMEFILE DIFFERENCES: (name, dirfrom, dirto, why)
**These items will be replaced in dirto by automatic resolution**

[]
-------------------------------------------------------------------------------
UNIQUE ITEMS IN DIRTO: (names, dirfrom, dirto)
**These items will be deleted from dirto by automatic resolution**

[]
-------------------------------------------------------------------------------
UNIQUE ITEMS IN DIRFROM: (names, dirfrom, dirto)
**These items will be copied over to dirto by automatic resolution**

[]
-------------------------------------------------------------------------------
MIXED MODE NAMES: (name, dirfrom, dirto)
**These items will be replaced in dirto by automatic resolution**

[]
------------------------------------------------------------------------------- 
*Summary
Compared    => files: 20, folders: 10
Differences => samefile: 0, uniqueto: 0, uniquefrom: 0, mixedmode: 0
Changed:
files   => created: 0, deleted: 0, replaced: 0
folders => created: 0, deleted: 0, replaced: 0
-------------------------------------------------------------------------------
Finished.



[Home page] Books Code Blog Python Author Train Find ©M.Lutz