SHARE
TWEET

clone-pkg-with-yum.sh

chusiang May 10th, 2012 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. # run it at source server.
  4. #       $ yum list installed | awk '{print $1}' > list.txt
  5.  
  6. for X in $(cat list.txt); do
  7.         yum install -y $X
  8. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top