The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mass restorepkg( messy ) mass pkgacct

Discussion in 'General Discussion' started by robert M, Jan 22, 2005.

  1. robert M

    robert M Registered

    Joined:
    Oct 19, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I looked around for a mass restore pkg acct but no luck so you guys can fix mine :)

    # mass backup
    for accounts in `ls /var/cpanel/users` ; do /scripts/pkgacct $accounts ; done

    # mass restore ( messy please fix )
    # copy all the cpmove to /home run this in /home

    for a in `ls -l| sed 's/.*cpmove-//g;' | sed 's/.tar.*//g;'` ; do echo /scripts/restorepkg $a ; done


    REQ: a log file search script for uber hackzorz
    " IE I have a wget search for domlogs I ganked looking for more code "
     
Loading...

Share This Page