File: android-deltas-scripts/_etc/examples/basic-shared-storage/runs/3-sync-changes-pc.txt

$ A=~/Downloads/android-deltas-scripts

$ python3 $A/sync-changes-part1-pc.py 
Android Deltas Scripts 1.1

Syncing:
from /Users/me/Desktop/temp/test-ads
to   /Volumes/SAMSUNG_T5/test-ads
zip  /Volumes/SAMSUNG_T5/DELTAS.zip
logs /Users/me/Desktop/deltas-logs

It is recommended to run fix-nonportable-filenames.py before
propagating content from Unix to Windows, some Android's shared
storage, and proxy drives using the FAT32 or exFAT filesystems.
Run the name-fixer script in report-only mode (y or n)? y
Running name fixer
    Runtime: 0m, 0.022s
Name-fixer summary:
    Visited 22 files and 6 folders
    Total nonportable names found but unchanged: 0
No names to change

Preview changes in the source tree (y or n)? y
Running preview of changes to be synced
    Runtime: 0m, 0.049s
Preview summary:
    -------------------------------------------------------------------------------
    *Summary
    Compared    => files: 17, folders: 7, symlinks: 3
    Differences => samefile: 2, uniqueto: 1, uniquefrom: 1, mixedmode: 0
    Changed:
    files   => created: 0, deleted: 0, replaced: 0
    folders => created: 0, deleted: 0, replaced: 0
    -------------------------------------------------------------------------------
    Finished.
Display preview's full output (y or n)? 
Continue with sync (y or n)? y

START: Creating PC~proxy deltas
Press enter/return to continue
    Runtime: 0m, 0.050s
Deltas summary:
    -------------------------------------------------------------------------------
    *Summary
    Compared    => files: 17, folders: 7, symlinks: 3
    Differences => samefile: 2, uniqueto: 1, uniquefrom: 1, mixedmode: 0
    Saved:
    files   => created: 1, deleted: 1, replaced: 2
    folders => created: 0, deleted: 0, replaced: 0
    -------------------------------------------------------------------------------
    Finished.

START: Zipping deltas
Press enter/return to continue
    Runtime: 0m, 0.049s
Zip create summary:
    Create finished: files=4, folders=4, symlinks=0, unknowns=0, crufts=0.
Moving deltas zip to proxy
    Runtime: 0m, 0.004s

START: Applying deltas to proxy
Press enter/return to continue
    Runtime: 0m, 0.051s
Mergeall summary:
    -------------------------------------------------------------------------------
    *Summary
    Compared    => files: 2, folders: 4, symlinks: 0
    Differences => samefile: 2, uniqueto: n/a, uniquefrom: 1, mixedmode: 0
    Changed:
    files   => created: 1, deleted: 1, replaced: 2
    folders => created: 0, deleted: 0, replaced: 0
    -------------------------------------------------------------------------------
    Finished.
Removing deltas folder from PC (keeping zip on proxy)
    Runtime: 0m, 0.000s

Verify PC copy to proxy copy with mergeall (y or n)? y
Running mergeall
    Runtime: 0m, 0.050s
Mergeall summary:
    -------------------------------------------------------------------------------
    *Summary
    Compared    => files: 18, folders: 7, symlinks: 3
    Differences => samefile: 0, uniqueto: 0, uniquefrom: 0, mixedmode: 0
    Changed:
    files   => created: 0, deleted: 0, replaced: 0
    folders => created: 0, deleted: 0, replaced: 0
    -------------------------------------------------------------------------------
    Finished.

Verify PC copy to proxy copy with diffall (y or n)? y
Running diffall
    Runtime: 0m, 0.063s
Diffall summary:
    ================================================================================
    Runtime hrs:mins:secs = 0:0:0.03
    Files checked: 18, Folders checked: 7, Symlinks checked: 3, Files skipped: 0
    System metadata (cruft) files were skipped
    Diffs found: 1
    - items UNIQUE at [/Users/me/Desktop/temp/test-ads] - [/Volumes/SAMSUNG_T5/test-ads]
    End of report.

Finished - total elapsed time (h:m:s) = 0:1:18
See logs in "/Users/me/Desktop/deltas-logs", and run part 2 on your phone.



[Home page] Books Code Blog Python Author Training Search ©M.Lutz