Add list feature

This commit is contained in:
Cole Deck 2021-01-04 20:15:00 -06:00
parent e1d21a88c8
commit 75eeb9aa94
2 changed files with 11 additions and 0 deletions

5
add-list Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
add $(cat ./.paths/.files)
rm ./.paths/.files
create-list

6
create-list Executable file
View File

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