File: tagpix/examples/2.1-verify-3.X-2.X-same.txt

=====================================================================================
Verify that outputs and results are the same on Python 3.X and 2.X.
diffall.py tree comparisons are from learning-python.com/mergeall.html.
On host, 'py2' / 'py3' are aliased to 'python' (2.X) / 'python3' (3.X).
=====================================================================================


~/Desktop$ py3 /MY-STUFF/Code/tagpix/tagpix.py > py3x.txt
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


(Move {test-tagpix, reorientation} to {test-tagpix-3, reorientation-3})
(Restore original versions of both)


~/Desktop$ py2 /MY-STUFF/Code/tagpix/tagpix.py > py2x.txt
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


~/Desktop$ diff py3x.txt py2x.txt 


~/Desktop$ py3 /MY-STUFF/Code/mergeall/diffall.py test-tagpix-3 test-tagpix
--------------------
Comparing test-tagpix-3 to test-tagpix
Directory lists are identical
Comparing contents
.DS_Store matches
--------------------
Comparing test-tagpix-3/MERGED to test-tagpix/MERGED
Directory lists are identical
Comparing contents
--------------------
Comparing test-tagpix-3/MERGED/MOVIES to test-tagpix/MERGED/MOVIES
Directory lists are identical
Comparing contents
--------------------
Comparing test-tagpix-3/MERGED/OTHERS to test-tagpix/MERGED/OTHERS
Directory lists are identical
Comparing contents
--------------------
Comparing test-tagpix-3/MERGED/OTHERS/2016 to test-tagpix/MERGED/OTHERS/2016
Directory lists are identical
Comparing contents
2016-06-25__untagged3-gif.gif matches
--------------------
Comparing test-tagpix-3/MERGED/OTHERS/2018 to test-tagpix/MERGED/OTHERS/2018
Directory lists are identical
Comparing contents
2018-09-23__galaxys8-3U.jpg.original matches
2018-09-23__galaxys8-6R.jpg.original matches
2018-09-23__galaxys8-8L.jpg.original matches
2018-09-23__ipod6g-3U.JPG.original matches
2018-09-23__ipod6g-6R.JPG.original matches
2018-09-23__ipod6g-8L.JPG.original matches
2018-09-23__restore-originals.py matches
2018-09-23__sonydsc-3U.JPG.original matches
2018-09-23__sonydsc-6R.JPG.original matches
2018-09-23__sonydsc-8L.JPG.original 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 test-tagpix-3/MERGED/PHOTOS to test-tagpix/MERGED/PHOTOS
Directory lists are identical
Comparing contents
--------------------
Comparing test-tagpix-3/MERGED/PHOTOS/2013 to test-tagpix/MERGED/PHOTOS/2013
Directory lists are identical
Comparing contents
2013-04-13__untagged2-scan.jpg matches
--------------------
Comparing test-tagpix-3/MERGED/PHOTOS/2014 to test-tagpix/MERGED/PHOTOS/2014
Directory lists are identical
Comparing contents
2014-02-18__untagged1-jpg.jpg matches
--------------------
Comparing test-tagpix-3/MERGED/PHOTOS/2018 to test-tagpix/MERGED/PHOTOS/2018
Directory lists are identical
Comparing contents
2018-09-23__galaxys8-1N.jpg matches
2018-09-23__ipod6g-1N.JPG matches
2018-09-23__sonydsc-1N.JPG matches
2018-09-25__galaxys8-3U.jpg matches
2018-09-25__galaxys8-6R.jpg matches
2018-09-25__galaxys8-8L.jpg matches
2018-09-25__ipod6g-3U.JPG matches
2018-09-25__ipod6g-6R.JPG matches
2018-09-25__ipod6g-8L.JPG matches
2018-09-25__sonydsc-3U.JPG matches
2018-09-25__sonydsc-6R.JPG matches
2018-09-25__sonydsc-8L.JPG matches
================================================================================
Runtime hrs:mins:secs = 0:0:0.13
Dirs checked 10, Files checked: 30, Files skipped: 0
No diffs found.
End of report.


~/Desktop$ py3 /MY-STUFF/Code/mergeall/diffall.py reorientation-3 reorientation
--------------------
Comparing reorientation-3 to reorientation
Directory lists are identical
Comparing contents
.DS_Store matches
--------------------
Comparing reorientation-3/_thumbspage to reorientation/_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
galaxys8-6R.jpg matches
galaxys8-6R.jpg.html matches
galaxys8-8L.jpg matches
galaxys8-8L.jpg.html matches
ipod6g-1N.JPG matches
ipod6g-1N.JPG.html matches
ipod6g-3U.JPG matches
ipod6g-3U.JPG.html matches
ipod6g-6R.JPG matches
ipod6g-6R.JPG.html matches
ipod6g-8L.JPG matches
ipod6g-8L.JPG.html matches
sonydsc-1N.JPG matches
sonydsc-1N.JPG.html matches
sonydsc-3U.JPG matches
sonydsc-3U.JPG.html matches
sonydsc-6R.JPG matches
sonydsc-6R.JPG.html matches
sonydsc-8L.JPG matches
sonydsc-8L.JPG.html matches
untagged1-jpg.jpg matches
untagged1-jpg.jpg.html matches
untagged2-scan.jpg matches
untagged2-scan.jpg.html matches
untagged3-gif.gif matches
untagged3-gif.gif.html matches
untagged4-png.png matches
untagged4-png.png.html matches
================================================================================
Runtime hrs:mins:secs = 0:0:0.01
Dirs checked 2, Files checked: 33, Files skipped: 0
No diffs found.
End of report.



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