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