Create file to copy symlinks from one dir to another
This commit is contained in:
parent
e5fddb81c1
commit
d3e14036e7
10
icons/copy-symlinks.sh
Executable file
10
icons/copy-symlinks.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -z "$1" ] && echo "provide source <pack>/<size>" && exit 2;
|
||||
[ -z "$2" ] && echo "provide destination <pack>/<size>" && exit 2;
|
||||
|
||||
cd "$1"
|
||||
for file in `find -type l`; do
|
||||
cp "$file" "../../${2}/${file}"
|
||||
done
|
||||
cd -
|
Loading…
Reference in New Issue
Block a user