9 lines
141 B
Bash
Executable file
9 lines
141 B
Bash
Executable file
synchronize() {
|
|
if [ -d ../"$1" ]; then
|
|
test -d "$1" && rm -r "$1"
|
|
cp -r ../"$1" ./"$1"
|
|
fi
|
|
}
|
|
|
|
synchronize "nall"
|
|
rm -r nall/test
|