File: android-deltas-sync/_etc/examples/linux-pc-example/runs/3-sync-changes-pc.txt

#===========================================================================
# Note how symlinks become perpetual diffs; they cannot be stored in exFAT
# on Linux (nor in shared storage on Android, but they never get that far).
# They are added to deltas zips correctly, but skipped when updating the 
# proxy, leaving spurious diffs that show up in steps here.  On the phone, 
# both the initial-copy and deltas-set unzips create stub files for failing
# symlinks--which match and so are simply skipped.  Subtle but true.
#===========================================================================

$ A=~/Downloads/android-deltas-sync
$ python3 $A/sync-changes-part1-pc.py
Android Deltas Sync 1.1

Syncing:
from /home/me/Desktop/temp/test-ads
to   /media/me/SAMSUNG_T5/test-ads
zip  /media/me/SAMSUNG_T5/DELTAS.zip
logs /home/me/Downloads/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 21 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.034s
Preview summary:
    -------------------------------------------------------------------------------
    *Summary
    Compared    => files: 17, folders: 7, symlinks: 0
    Differences => samefile: 2, uniqueto: 1, uniquefrom: 1, mixedmode: 3
    Changed:
    files   => created: 0, deleted: 0, replaced: 0
    folders => created: 0, deleted: 0, replaced: 0
    -------------------------------------------------------------------------------
    Finished.
Display preview's full output (y or n)? n
Continue with sync (y or n)? y

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

START: Zipping deltas
Press enter/return to continue
    Runtime: 0m, 0.032s
Zip create summary:
    Create finished: files=4, folders=5, symlinks=3, 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.071s
Mergeall summary:
    *Summary
    Compared    => files: 2, folders: 5, symlinks: 0
    Differences => samefile: 2, uniqueto: n/a, uniquefrom: 1, mixedmode: 3
    Changed:
    files   => created: 1, deleted: 1, replaced: 2
    folders => created: 0, deleted: 0, replaced: 0
    **There are error messages in the log file above: see "**Error"
    -------------------------------------------------------------------------------
    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.034s
Mergeall summary:
    -------------------------------------------------------------------------------
    *Summary
    Compared    => files: 18, folders: 7, symlinks: 0
    Differences => samefile: 0, uniqueto: 0, uniquefrom: 3, 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.036s
Diffall summary:
    Runtime hrs:mins:secs = 0:0:0.01
    Files checked: 18, Folders checked: 7, Symlinks checked: 0, Files skipped: 0
    System metadata (cruft) files were skipped
    Diffs found: 2
    - items UNIQUE at [/home/me/Desktop/temp/test-ads] - [/media/me/SAMSUNG_T5/test-ads]
    - items UNIQUE at [/home/me/Desktop/temp/test-ads/not_okay_link-nested] - [/media/me/SAMSUNG_T5/test-ads/not_okay_link-nested]
    End of report.

Finished - total elapsed time (h:m:s) = 0:3:47
See logs in "/home/me/Downloads/deltas-logs", and run part 2 on your phone.
$



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