Difference between revisions of "Find all backups for user"
From James Dooley's Wiki
(Created page with "==Overview== Simple script to check /backup for cpanel backups with a user's name. ==Script== <code>[bash,n]find /backup -name <user> -exec ls -lah {} \;</code> ==What to chan...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | [[Category:One Liners]] | ||
==Overview== | ==Overview== | ||
Simple script to check /backup for cpanel backups with a user's name. | Simple script to check /backup for cpanel backups with a user's name. | ||
| Line 4: | Line 5: | ||
==Script== | ==Script== | ||
| − | < | + | <source lang='bash'> |
| + | find /backup -name <user> -exec ls -lah {} \; | ||
| + | </source> | ||
==What to change== | ==What to change== | ||
Latest revision as of 14:25, 25 March 2014
Overview
Simple script to check /backup for cpanel backups with a user's name.
Script
find /backup -name <user> -exec ls -lah {} \;