The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Moving all user files to another/new directory
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Moving all user files to another/new directory
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
08-26-2008
vbe
Moderator
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,585
go to the directory, get the user UID (id user).
then
mv or cp -
pR
$(find . -user UID -print) ~newdirectory
(but after cp you will have to remove them the same way... but at least you can see if the files copied are what you wanted...)
vbe
View Public Profile
Find all posts by vbe
Find vbe's past nominations received
Find vbe's present nominations given