.
This commit is contained in:
parent
3030258b6e
commit
4355e83743
6 changed files with 326 additions and 69 deletions
2
add.sh
2
add.sh
|
|
@ -14,7 +14,7 @@ for arg in $@; do
|
|||
continue
|
||||
}
|
||||
|
||||
cp -v "$arg" "${arg}.bak"
|
||||
cp -rv "$arg" "${arg}.bak"
|
||||
mkdir -vp "files/$(dirname "$file")"
|
||||
mv -iv "$arg" "files/$file"
|
||||
ln -vfs "$(realpath "files/$file")" "$arg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue