File: mergeall-products/unzipped/test/test-path-normalization-3.3/test-path-normalization-walks/macos/_TEST-output.txt

# Run in the Terminal, with Mergeall's debug1/debug2 = True/False
# macOS (APFS filesystem) auto-normalizes Unicode variants in paths
# See LOGS/*deltas-apply*.txt for path-normalization code action


~/Desktop/temp/test-path-normalization-walks$ grep 'debug1, debug2' /Users/me/MY-STUFF/Code/mergeall/fixunicodedups.py 
    debug1, debug2 = 1, 0  #False, False

~/Desktop/temp/test-path-normalization-walks$ py3 _TEST.py 
Starting

INITIAL POPULATE

<decoded paths>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd

<encoded paths>
[b'FROM', b'Li\xc3\xb1ux1', b'aaa', b'Lin\xcc\x83ux2', b'bbb', b'Lin\xcc\x83ux3', b'ccc', b'Li\xc3\xb1ux4', b'ddd']
[b'TO', b'Lin\xcc\x83ux1', b'aaa', b'Lin\xcc\x83ux2', b'bbb', b'Li\xc3\xb1ux3', b'ccc', b'Li\xc3\xb1ux4', b'ddd']

<files>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/Liñux --> b'Li\xc3\xb1ux' ==> b"Li\xc3\xb1ux, b'Li\\xc3\\xb1ux'"
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b"plain.txt, b'plain.txt'"
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/Liñux --> b'Lin\xcc\x83ux' ==> b"Lin\xcc\x83ux, b'Lin\\xcc\\x83ux'"
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b"plain.txt, b'plain.txt'"

Press enter to mod and sync

POST MOD AND SYNC

<decoded paths>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd

<encoded paths>
[b'FROM', b'Li\xc3\xb1ux1', b'aaa', b'Lin\xcc\x83ux2', b'bbb', b'Lin\xcc\x83ux3', b'ccc', b'Li\xc3\xb1ux4', b'ddd']
[b'TO', b'Lin\xcc\x83ux1', b'aaa', b'Lin\xcc\x83ux2', b'bbb', b'Li\xc3\xb1ux3', b'ccc', b'Li\xc3\xb1ux4', b'ddd']

<files>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b'modified...'
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b'modified...'

Press enter to run deltas sync

POST DELTAS SYNC

<decoded paths>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd

<encoded paths>
[b'FROM', b'Li\xc3\xb1ux1', b'aaa', b'Lin\xcc\x83ux2', b'bbb', b'Lin\xcc\x83ux3', b'ccc', b'Li\xc3\xb1ux4', b'ddd']
[b'TO', b'Li\xc3\xb1ux1', b'aaa', b'Li\xc3\xb1ux2', b'bbb', b'Lin\xcc\x83ux3', b'ccc', b'Lin\xcc\x83ux4', b'ddd']

<files>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b'modified...'
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b'modified...'

<__added__.txt>
Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/Liñux
b'Lin\xcc\x83ux1/aaa/Lin\xcc\x83ux2/bbb/Li\xc3\xb1ux3/ccc/Li\xc3\xb1ux4/ddd/Lin\xcc\x83ux\n'

Press enter to run deltas abspath sync

POST DELTAS ABSPATH SYNC

<decoded paths>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd

<encoded paths>
[b'FROM', b'Li\xc3\xb1ux1', b'aaa', b'Lin\xcc\x83ux2', b'bbb', b'Lin\xcc\x83ux3', b'ccc', b'Li\xc3\xb1ux4', b'ddd']
[b'TO', b'Li\xc3\xb1ux1', b'aaa', b'Li\xc3\xb1ux2', b'bbb', b'Lin\xcc\x83ux3', b'ccc', b'Lin\xcc\x83ux4', b'ddd']

<files>
FROM/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b'modified...'
  TO/Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/plain.txt --> b'plain.txt' ==> b'modified...'

<__added__.txt>
Liñux1/aaa/Liñux2/bbb/Liñux3/ccc/Liñux4/ddd/Liñux
b'Lin\xcc\x83ux1/aaa/Lin\xcc\x83ux2/bbb/Li\xc3\xb1ux3/ccc/Li\xc3\xb1ux4/ddd/Lin\xcc\x83ux\n'

Bye
~/Desktop/temp/test-path-normalization-walks$ 



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