File: tagpix/examples/demo-0-basics.txt

========================================================================================
Demo basic operation on Unix (Mac OS, HFS+).
Run in Terminal or PyEdit's Run Code ('>' requires Terminal).
"py3" was aliased to "python3" (see also the Python 2.X demo file).
This run corresponds exactly to the demo-8 file's run on Windows.
========================================================================================


/MY-STUFF/Code/tagpix$ py3 tagpix.py
tagpix renames and moves photos to a merged folder; proceed? y
Source - pathname of folder with photos to be moved? 
Destination - pathname of folder to move items to? 
Group items into by-year subfolders? y
List only: show target names, but do not rename or move? n
--------------------------------------------------------------------------------
Analyzing source tree
Skipping file: ./SOURCE/.DS_Store
--------------------------------------------------------------------------------
Moving PHOTOS: 6
./SOURCE/card1/DSC00006.JPG => ./MERGED/PHOTOS/2014/2014-10-03__DSC00006.JPG
./SOURCE/card1/DSC00059.JPG => ./MERGED/PHOTOS/2014/2014-10-05__DSC00059.JPG
./SOURCE/card1/DSC00060.JPG => ./MERGED/PHOTOS/2014/2014-10-05__DSC00060.JPG
./SOURCE/card2/DSC00003.JPG => ./MERGED/PHOTOS/2014/2014-10-02__DSC00003.JPG
./SOURCE/card2/DSC00005.JPG => ./MERGED/PHOTOS/2014/2014-10-03__DSC00005.JPG
***Duplicate content was skipped: ./SOURCE/card2/DSC00006.JPG == ./MERGED/PHOTOS/2014/2014-10-03__DSC00006.JPG
--------------------------------------------------------------------------------
Moving MOVIES: 1
./SOURCE/card2/00000.MTS => ./MERGED/MOVIES/2014/2014-10-03__00000.MTS
--------------------------------------------------------------------------------
Moving OTHERS: 1
./SOURCE/11.png => ./MERGED/OTHERS/2016/2016-03-27__11.png
--------------------------------------------------------------------------------
Missed: 2
['./SOURCE/.DS_Store', './SOURCE/card2/DSC00006.JPG']
--------------------------------------------------------------------------------
Bye.


/MY-STUFF/Code/tagpix$ py3 examples/ls.py MERGED     # or, "ls -R"
...MERGED
......MERGED/MOVIES
.........MERGED/MOVIES/2014
............2014-10-03__00000.MTS
......MERGED/OTHERS
.........MERGED/OTHERS/2016
............2016-03-27__11.png
......MERGED/PHOTOS
.........MERGED/PHOTOS/2014
............2014-10-02__DSC00003.JPG
............2014-10-03__DSC00005.JPG
............2014-10-03__DSC00006.JPG
............2014-10-05__DSC00059.JPG
............2014-10-05__DSC00060.JPG


/MY-STUFF/Code/tagpix$ py3 examples/ls.py SOURCE
...SOURCE
......SOURCE/card1
......SOURCE/card2
.........DSC00006.JPG


========================================================================================
Save run messages to a report file.
========================================================================================

/MY-STUFF/Code/tagpix$ py3 tagpix.py > report.txt
tagpix renames and moves photos to a merged folder; proceed? y
Source - pathname of folder with photos to be moved? 
Destination - pathname of folder to move items to? 
Group items into by-year subfolders? y
List only: show target names, but do not rename or move? y

/MY-STUFF/Code/tagpix$ cat report.txt 
--------------------------------------------------------------------------------
Analyzing source tree
Skipping file: ./SOURCE/.DS_Store
--------------------------------------------------------------------------------
Moving PHOTOS: 1
***Duplicate name will be resolved: ./MERGED/PHOTOS/2014/2014-10-03__DSC00006.JPG
./SOURCE/card2/DSC00006.JPG => ./MERGED/PHOTOS/2014/2014-10-03__DSC00006.JPG
--------------------------------------------------------------------------------
Moving MOVIES: 0
--------------------------------------------------------------------------------
Moving OTHERS: 0
--------------------------------------------------------------------------------
Bye.

/MY-STUFF/Code/tagpix$



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