Method 1:
# find / -user testuser -type f -exec cp {} /root/BACKUP \;
Method 2:
# find / -user testuser -type f | cpio -pvdmu /root/BACKUP
DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog.
You may use the commands/method/scripts on your own responsibility.
If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.
Note: The blog is best viewed with 1680x1050 pixel settings.
# find / -user testuser -type f -exec cp {} /root/BACKUP \;
# find / -user testuser -type f | cpio -pvdmu /root/BACKUP
No comments:
Post a Comment