File: android-deltas-sync/_etc/examples/_config-diffs.txt

How the examples' config files differ from the shipped top-level configs.

Caveat: results here do not reflect documentation strings stripped in 1.2,
or the newer 1.2 and app-private examples added after this file was created.
Please run diffs on your own for more complete and up-to-date results.

-----------------------------------------------------------------------------------------

# macOS PC => phone shared storage, full content folder (the shipped preset)

.../android-deltas-sync$ diff config_pc.py    _etc/examples/large-shared-storage/configs
.../android-deltas-sync$ diff config_phone.py _etc/examples/large-shared-storage/configs
.../android-deltas-sync$ 

-----------------------------------------------------------------------------------------

# macOS PC => phone app-specific storage, full content folder

.../android-deltas-sync$ diff config_pc.py    _etc/examples/large-appspecific-storage/configs
.../android-deltas-sync$ diff config_phone.py _etc/examples/large-appspecific-storage/configs
49c49
< TO    = '/sdcard'                            # path to $STUFF archive root on phone
---
> TO    = '/sdcard/Android/data/com.termux'    # path to $STUFF archive root on phone

-----------------------------------------------------------------------------------------

# macOS PC => phone shared storage, small test folder

.../android-deltas-sync$ diff config_pc.py _etc/examples/basic-shared-storage/configs
43c43
< FROM  = '~'                           # path to STUFF archive root on PC
---
> FROM  = '~/Desktop/temp'              # path to STUFF archive root on PC
45c45
< STUFF = 'MY-STUFF'                    # name of archive's root folder
---
> STUFF = 'test-ads'                    # name of archive's root folder

.../android-deltas-sync$ diff config_phone.py _etc/examples/basic-shared-storage/configs
48c48
< FROM  = '/sdcard/Android/data/com.termux'    # path to $STUFF and DELTAS zips copied
---
> FROM  = '/sdcard'                            # path to $STUFF and DELTAS zips copied
50c50
< STUFF = 'MY-STUFF'                           # name of archive's root folder
---
> STUFF = 'test-ads'                           # name of archive's root folder

-----------------------------------------------------------------------------------------

# macOS PC => phone app-specific storage, small test folder

.../android-deltas-sync$ diff config_pc.py _etc/examples/basic-appspecific-storage/configs
43c43
< FROM  = '~'                           # path to STUFF archive root on PC
---
> FROM  = '~/Desktop/temp'              # path to STUFF archive root on PC
45c45
< STUFF = 'MY-STUFF'                    # name of archive's root folder
---
> STUFF = 'test-ads'                    # name of archive's root folder

.../android-deltas-sync$ diff config_phone.py _etc/examples/basic-appspecific-storage/configs
49,50c49,50
< TO    = '/sdcard'                            # path to $STUFF archive root on phone
< STUFF = 'MY-STUFF'                           # name of archive's root folder
---
> TO    = '/sdcard/Android/data/com.termux'    # path to $STUFF archive root on phone
> STUFF = 'test-ads'                           # name of archive's root folder

-----------------------------------------------------------------------------------------

# A Linux PC is FROM here

.../android-deltas-sync$ diff config_pc.py _etc/examples/linux-pc-example/configs
40,41c40,41
< LOGS  = '~/Desktop/deltas-logs'       # logfiles folder (tail -f to watch)
< MALL  = '~/MY-STUFF/Code/mergeall'    # Mergeall source-code folder
---
> LOGS  = '~/Downloads/deltas-logs'          # logfiles folder (tail -f to watch)
> MALL  = '~/Downloads/Mergeall-source'      # Mergeall source-code folder
43,45c43,45
< FROM  = '~'                           # path to STUFF archive root on PC
< TO    = '/Volumes/SAMSUNG_T5'         # path to STUFF archive root on proxy
< STUFF = 'MY-STUFF'                    # name of archive's root folder
---
> FROM  = '/home/$USER/Desktop/temp'         # path to STUFF archive root on PC
> TO    = '/media/$USER/SAMSUNG_T5'          # path to STUFF archive root on proxy
> STUFF = 'test-ads'                         # name of archive's root folder

.../android-deltas-sync$ diff config_phone.py _etc/examples/linux-pc-example/configs
50c50
< STUFF = 'MY-STUFF'                           # name of archive's root folder
---
> STUFF = 'test-ads'                           # name of archive's root folder

-----------------------------------------------------------------------------------------

# A Windows PC is FROM here

.../android-deltas-sync$ diff config_pc.py _etc/examples/windows-pc-example/configs
40,41c40,41
< LOGS  = '~/Desktop/deltas-logs'       # logfiles folder (tail -f to watch)
< MALL  = '~/MY-STUFF/Code/mergeall'    # Mergeall source-code folder
---
> LOGS  = r'~\Downloads\deltas-logs'         # logfiles folder (tail -f to watch)
> MALL  =  '~/Downloads/Mergeall-source'     # Mergeall source-code folder
43,45c43,45
< FROM  = '~'                           # path to STUFF archive root on PC
< TO    = '/Volumes/SAMSUNG_T5'         # path to STUFF archive root on proxy
< STUFF = 'MY-STUFF'                    # name of archive's root folder
---
> FROM  = 'C:\\Users\\lutz\\Desktop\\temp'   # path to STUFF archive root on PC
> TO    = 'D:\\'                             # path to STUFF archive root on proxy [use \!]
> STUFF = 'test-ads'                         # name of archive's root folder
53c53
< CheckFilenames = True     # ask to run nonportable-filenames fixer?
---
> CheckFilenames = True     # ask to run nonportable-filenames fixer? [moot on windows]

.../android-deltas-sync$ diff config_phone.py _etc/examples/windows-pc-example/configs
50c50
< STUFF = 'MY-STUFF'                           # name of archive's root folder
---
> STUFF = 'test-ads'                           # name of archive's root folder

-----------------------------------------------------------------------------------------

# No config diffs for verify, despite switching FROM/TO roles (phone/PC)

.../android-deltas-sync$ diff config_phone.py _etc/examples/x-1.1-verify-example/configs/
.../android-deltas-sync$ diff config_pc.py    _etc/examples/x-1.1-verify-example/configs/
.../android-deltas-sync$ 

-----------------------------------------------------------------------------------------

# A Windows PC plays the role of the TO target phone here (not FROM source)

.../android-deltas-sync$ diff config_phone.py _etc/examples/x-3-devices-with-pc-as-phone/configs/windows/
44a45,51
> #
> # PC is TO 'phone', not FROM
> #
> # This requires a manual deltas-zip copy, but updates skip full comparisons.
> # If you already have a deltas zip for Android 11, this may be quicker.
> #
> 
47,48c54,55
< LOGS  = '/sdcard/Download/deltas-logs'       # logfiles folder (tail -f to watch)
< MALL  = '/sdcard/Download/Mergeall-source'   # Mergeall source-code folder
---
> LOGS  = r'~\Downloads\deltas-logs'           # logfiles folder (tail -f to watch)
> MALL  = r'~\Downloads\Mergeall-source'       # Mergeall source-code folder
50,51c57,58
< FROM  = '/sdcard/Android/data/com.termux'    # path to $STUFF and DELTAS zips copied
< TO    = '/sdcard'                            # path to $STUFF archive root on phone
---
> FROM  = '~\\Desktop\\temp'                   # path to $STUFF and DELTAS zips copied
> TO    = '~\\Desktop'                         # path to $STUFF archive root on phone
61c68
< BackupChanges   = False    # save phone items changed so sync can be rolled back?
---
> BackupChanges   = True     # save phone items changed so sync can be rolled back?

-----------------------------------------------------------------------------------------



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