File: tagpix/examples/demo-6a-errorskips.txt

========================================================================================
Demonstrate move-error reporting and recovery (errors reported here).
========================================================================================


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? 
--------------------------------------------------------------------------------
Analyzing source tree
Skipping file: ./SOURCE/.DS_Store
Skipping folder: ./SOURCE/card1/.somsesuch
Skipping file: ./SOURCE/card1/.DS_Store
Skipping folder: ./SOURCE/card2/thumbs
Skipping file: ./SOURCE/card2/.DS_Store
--------------------------------------------------------------------------------
Moving PHOTOS: 8
***A prior run's date prefix was stripped: 2017-02-23__2017-02-23__DSC02602.JPG
./SOURCE/bestof/2017-02-23__DSC02602.JPG => ./MERGED/PHOTOS/2017/2017-02-23__DSC02602.JPG
***A prior run's date prefix was stripped: 2017-02-23__2017-02-23__DSC026XX.JPG
./SOURCE/bestof/2017-02-23__DSC026XX.JPG => ./MERGED/PHOTOS/2017/2017-02-23__DSC026XX.JPG
./SOURCE/card1/109_0007.JPG => ./MERGED/PHOTOS/2005/2005-11-14__109_0007.JPG
./SOURCE/card1/DSC00007.JPG => ./MERGED/PHOTOS/2006/2006-08-31__DSC00007.JPG
./SOURCE/card1/DSC00542.JPG => ./MERGED/PHOTOS/2007/2007-03-24__DSC00542.JPG
***Error moving: ./SOURCE/card1/DSC00542.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:
PermissionError => [Errno 1] Operation not permitted: './SOURCE/card1/DSC00542.JPG' -> './MERGED/PHOTOS/2007/2007-03-24__DSC00542.JPG'
./SOURCE/card1/pack01-1999-IMG_0001.jpg => ./MERGED/PHOTOS/2013/2013-04-13__pack01-1999-IMG_0001.jpg
***Duplicate content was skipped: ./SOURCE/card2/DSC02602.JPG == ./MERGED/PHOTOS/2017/2017-02-23__DSC02602.JPG
./SOURCE/card2/DSC02603.JPG => ./MERGED/PHOTOS/2017/2017-02-23__DSC02603.JPG
--------------------------------------------------------------------------------
Moving MOVIES: 3
./SOURCE/bestof/00000.MTS => ./MERGED/MOVIES/2014/2014-10-03__00000.MTS
./SOURCE/card1/MOV00058.MPG => ./MERGED/MOVIES/2006/2006-10-20__MOV00058.MPG
***Duplicate content was skipped: ./SOURCE/card2/00000.MTS == ./MERGED/MOVIES/2014/2014-10-03__00000.MTS
--------------------------------------------------------------------------------
Moving OTHERS: 6
./SOURCE/A Photo.png => ./MERGED/OTHERS/2012/2012-04-19__A Photo.png
./SOURCE/README.txt => ./MERGED/OTHERS/2017/2017-10-14__README.txt
***Duplicate content was skipped: ./SOURCE/card1/A Photo.png == ./MERGED/OTHERS/2012/2012-04-19__A Photo.png
./SOURCE/card1/out-apr2113.txt => ./MERGED/OTHERS/2013/2013-04-21__out-apr2113.txt
***Error moving: ./SOURCE/card1/out-apr2113.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:
PermissionError => [Errno 1] Operation not permitted: './SOURCE/card1/out-apr2113.txt' -> './MERGED/OTHERS/2013/2013-04-21__out-apr2113.txt'
***Duplicate filename made unique: ./MERGED/OTHERS/2017/2017-10-14__README.txt
./SOURCE/card1/README.txt => ./MERGED/OTHERS/2017/2017-10-14__README__1.txt
./SOURCE/card2/README.txt => ./MERGED/OTHERS/2014/2014-03-15__README.txt
--------------------------------------------------------------------------------
Missed: 12
['./SOURCE/.DS_Store',
 './SOURCE/card1/.DS_Store',
 './SOURCE/card1/A Photo.png',
 './SOURCE/card1/DSC00542.JPG',
 './SOURCE/card1/out-apr2113.txt',
 './SOURCE/card2/.DS_Store',
 './SOURCE/card2/00000.MTS',
 './SOURCE/card2/DSC02602.JPG',
 './SOURCE/card2/thumbs/DSC02393.JPG',
 './SOURCE/card2/thumbs/DSC02766.JPG',
 './SOURCE/card2/thumbs/DSC02859.JPG',
 './SOURCE/card2/thumbs/DSC02902.JPG']
--------------------------------------------------------------------------------
Bye.



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