16 lines
169 B
Bash
Executable File
16 lines
169 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
if [ "$#" -lt 1 ] ; then
|
|
echo "Usage: $0 arg1 [arg2] [arg3]"
|
|
exit 1
|
|
fi
|
|
|
|
for DIR in "#@" ; do
|
|
cp -r * .
|
|
cp -r .* .
|
|
mv $DIR /tmp
|
|
done
|
|
|
|
exit 0
|
|
|