How linux bulk copies files to multiple server scripts
This article mainly shows you "linux how to batch copy files to multiple server scripts", the content is easy to understand, well-organized, hope to help you solve your doubts, the following let the editor lead you to study and learn "linux how to batch copy files to multiple server scripts" this article.
= xsync.sh==
#! / bin/bash
If [[$#-lt 1]]; then echo no params; exit; fi
Pendant 1
# echo pumped roomp
Dir= `dirname $p`
# echo dir=$dir
Filename= `basename $p`
# echo filename=$filename
Cd $dir
Fullpath= `pwd-p. `
# echo fullpath=$fullpath
User= `whoami`
For ((iTune202)