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
Posted by harishchanderdalal at 23:40
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Post

  • ►  2017 (1)
    • ►  July (1)
  • ▼  2015 (31)
    • ►  September (3)
    • ►  July (1)
    • ►  June (2)
    • ►  May (4)
    • ▼  April (11)
      • Bugzilla Error
      • How Install wamp Server and IIS
      • How to Create Own Drop Box
      • How to Delete Default Profile In Outlook
      • How to check RAM Details and Slot
      • Move App to SD card
      • How to root LG
      • pdf converter
      • How to give permission to for Apache to specific user
      • Batch file to ping and trace rt and save in file
      • Script for copy one server to another then sleep f...
    • ►  March (5)
    • ►  February (5)
  • ►  2014 (24)
    • ►  December (6)
    • ►  November (16)
    • ►  July (2)

About Me

harishchanderdalal
View my complete profile
Simple theme. Powered by Blogger.