Compare commits

...

2 Commits

Author SHA1 Message Date
a57201c674 Clear file list before creation 2021-01-04 20:19:04 -06:00
36c668b3d1 Fix unadd args 2021-01-04 20:16:36 -06:00
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
rm ./.paths/.files
for name in $(ls ./.paths) for name in $(ls ./.paths)
do do
echo "$(cat ./.paths/$name)/$name" >> ./.paths/.files echo "$(cat ./.paths/$name)/$name" >> ./.paths/.files

2
unadd
View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -euo pipefail set -euo pipefail
if [ -n "$@" ]; then if [ "$@" ]; then
for file in $@ for file in $@
do do
dir=$(cat ./.paths/$file) dir=$(cat ./.paths/$file)