File: tagpix/examples/demo-5-newitems.txt

========================================================================================
Demonstrate adding new items to an existing (prior-run) archive.
========================================================================================


tagpix renames and moves photos to a merged folder; proceed? y
Source - pathname of folder with photos to be moved? /MY-STUFF/Code/tagpix/mysource-new
Destination - pathname of folder to move items to? /MY-STUFF/Code/tagpix/mydest
Group items into by-year subfolders? y
List only: show target names, but do not rename or move? n
Delete all prior-run outputs in "/MY-STUFF/Code/tagpix/mydest/MERGED/PHOTOS"? n
Delete all prior-run outputs in "/MY-STUFF/Code/tagpix/mydest/MERGED/MOVIES"? n
Delete all prior-run outputs in "/MY-STUFF/Code/tagpix/mydest/MERGED/OTHERS"? n
--------------------------------------------------------------------------------
Analyzing source tree
Skipping file: /MY-STUFF/Code/tagpix/mysource/.DS_Store
--------------------------------------------------------------------------------
Moving PHOTOS: 2
/MY-STUFF/Code/tagpix/mysource/card2/DSC02984.JPG => /MY-STUFF/Code/tagpix/mydest/MERGED/PHOTOS/2017/2017-10-03__DSC02984.JPG
/MY-STUFF/Code/tagpix/mysource/card2/DSC02985.JPG => /MY-STUFF/Code/tagpix/mydest/MERGED/PHOTOS/2017/2017-10-03__DSC02985.JPG
--------------------------------------------------------------------------------
Moving MOVIES: 1
/MY-STUFF/Code/tagpix/mysource/card2/00033.MTS => /MY-STUFF/Code/tagpix/mydest/MERGED/MOVIES/2016/2016-12-23__00033.MTS
--------------------------------------------------------------------------------
Moving OTHERS: 0
--------------------------------------------------------------------------------
Missed: 1
['/MY-STUFF/Code/tagpix/mysource/.DS_Store']
--------------------------------------------------------------------------------
Bye.


# Results tree

/MY-STUFF/Code/tagpix$ python3 examples/ls.py mydest
...mydest
......mydest/MERGED
.........mydest/MERGED/MOVIES
............mydest/MERGED/MOVIES/2006
...............2006-10-20__MOV00058.MPG
............mydest/MERGED/MOVIES/2014
...............2014-10-03__00000.MTS
............mydest/MERGED/MOVIES/2016
...............2016-12-23__00033.MTS
.........mydest/MERGED/OTHERS
............mydest/MERGED/OTHERS/2012
...............2012-04-19__A Photo.png
............mydest/MERGED/OTHERS/2013
...............2013-04-21__out-apr2113.txt
............mydest/MERGED/OTHERS/2014
...............2014-03-15__README.txt
............mydest/MERGED/OTHERS/2017
...............2017-10-14__README.txt
...............2017-10-14__README__1.txt
.........mydest/MERGED/PHOTOS
............mydest/MERGED/PHOTOS/2005
...............2005-11-14__109_0007.JPG
............mydest/MERGED/PHOTOS/2006
...............2006-08-31__DSC00007.JPG
............mydest/MERGED/PHOTOS/2007
...............2007-03-24__DSC00542.JPG
............mydest/MERGED/PHOTOS/2013
...............2013-04-13__pack01-1999-IMG_0001.jpg
............mydest/MERGED/PHOTOS/2017
...............2017-02-23__DSC02602.JPG
...............2017-02-23__DSC02603.JPG
...............2017-02-23__DSC026XX.JPG
...............2017-10-03__DSC02984.JPG
...............2017-10-03__DSC02985.JPG



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