Closed asinning closed 2 years ago
To run this on Windows I needed to use: cat config.txt | tr -d '\r' | ./tomono Without the middle section, read-tree failed with error: invalid path '{repopath} ?/.{first-file-in-repo}'. This is because the \r before \n gets included in $repopath.
cat config.txt | tr -d '\r' | ./tomono
read-tree
error: invalid path '{repopath} ?/.{first-file-in-repo}'
Iiiiinteresting.
I'm surprised that is all it took to make the script work on windows 😂 I consider this a win.
To run this on Windows I needed to use:
cat config.txt | tr -d '\r' | ./tomono
Without the middle section,read-tree
failed witherror: invalid path '{repopath} ?/.{first-file-in-repo}'
. This is because the \r before \n gets included in $repopath.