harishchanderdalal
How to Create
Wednesday, 1 April 2015
Script for copy one server to another then sleep for 1 min
#!/bin/bash
echo "test"
i=0
unit=100
for file in /home/harish/a/*;
do
cp "$file" /home/harish/c
if [[ "$i" -ge "$unit" ]];
then
sleep 1M
i=0
fi
((i++))
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment