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!

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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice