On Mon, November 23, 2009, sean wrote:

> I want to copy a user account, on the same system, to another user account.
> 
> Do I just copy over the GNUStep to the new location?

It depends. There are several entries in automatically created
files which are likely to contain absolute paths to your home
directory.

You may try this here:

 - cp -a ~/GNUstep /tmp
 - cd /tmp/GNUstep
 - find . -type f | while read a; do perl -pi -e 's|/home/sean|/home/newuser|g' 
"$a"; done
 - cp -a /tmp/GNUstep ~newuser

Not tested, no guarantee :)

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Warum sind Bratschen auf modernen CD-Einspielungen nicht zu h�ren?
Weil die Technik inzwischen Aufnahmen ohne jegliche Nebenger�usche
produzieren kann...


-- 
To unsubscribe, send mail to [email protected].

Reply via email to