Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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

    Oct 19, 2004
    Likes Received:
    Trophy Points:
    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 "

Share This Page