17 lines
241 B
Bash
Executable File
17 lines
241 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
root="root"
|
|
|
|
all_files() {
|
|
find $root -type f,l
|
|
}
|
|
|
|
for f in $(all_files)
|
|
do
|
|
install_path="${f#"$root"}"
|
|
mkdir -p "$(dirname "$install_path")"
|
|
ln -snf "$PWD/$f" "$install_path"
|
|
done
|
|
|
|
# vim: set filetype=bash:
|