Get the App
SLTechnology News&Howtos  ›  Servers  › 

How linux bulk copies files to multiple server scripts

Shulou Source: shulou.com Published: 2022-06-01 03:00:29 10月01日 Update

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)

Tags: Multiple documents servers scripts services content articles learning help easy to understand more organization knowledge editing industry information information channels channels research Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Huawei Microsoft MySQL NVidia