File: android-deltas-sync/_etc/examples/large-shared-storage/runs/PRIOR-SYNC/before-delete-iff-namesdiff--4-sync-changes-phone.txt

#-----------------------------------------------------------------
# Caveat: this was run before the [BackupChanges = False] config 
# preset was added to avoid slow __bkp__ folder prunes.  With the
# new preset, the apply step runs faster; most of its time here 
# was spent in a prior-backup delete, which is slow in Android 11.
#
# UPDATE: this example was rerun with Mergeall 3.3 and the new 
# preset, so its runtimes no longer include the prune overhead.
#-----------------------------------------------------------------

# Or run by tapping a Termux:Widget home-screen shortcut
$ A=/sdcard/Download/fold3-vs-deltas/android-deltas-sync/

$ python3 $A/sync-changes-part2-phone.py
Android Deltas Sync 1.1

Syncing:
from /sdcard/Android/data/com.termux/DELTAS.zip
to   /sdcard/MY-STUFF
logs /sdcard/Download/deltas-logs

Manually copy or move DELTAS.zip
    from the root of the USB drive
    to   /sdcard/Android/data/com.termux
using any Android file-explorer app with suitable storage permissions.

Press enter/return here when the copy is finished...

START: Unzipping deltas on phone
Press enter/return to continue
    Runtime: 0m, 19.429s
Zip extract summary:
    Extract finished: files=10020, folders=639, symlinks=0, unknowns=0.

START: Applying deltas to phone
Press enter/return to continue
    Runtime: 27m, 27.928s
Mergeall summary:
    -------------------------------------------------------------------------------
    *Summary
    Compared    => files: 9370, folders: 520, symlinks: 0
    Differences => samefile: 9370, uniqueto: n/a, uniquefrom: 168, mixedmode: 0
    Changed:
    files   => created: 155, deleted: 100, replaced: 9370
    folders => created: 13, deleted: 0, replaced: 0
    -------------------------------------------------------------------------------
    Finished.
Removing deltas folder from phone
    Runtime: 0m, 1.159s
Removing deltas zip from phone (remove manually from proxy as needed)
    Runtime: 0m, 0.092s

Running postcopy hooks

Finished - total elapsed time (h:m:s) = 0:30:15
See logs in "/sdcard/Download/deltas-logs".
$



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