transfer files to another user - same machine

Karl Larsen klarsen1 at gmail.com
Tue May 18 12:46:23 UTC 2010


On 05/17/2010 05:23 PM, NoOp wrote:
> I've a situation on my main user account whereby there is something in
> the config files that keeps giving me fits (gnome-panel won't start
> automatically unless I add it to the startup applications for example).
>
> I have messed with that account until I'm blue in the face, so I've
> created another user account on the same machine from scratch and in the
> process of copying all of the files from that account to the new one.
>
> Q. How can I copy all except the .config .gconf etc., folder over in one
> wack? I have the main account mounted in .gvfs (via sftp) and can copy
> folders at a time (rsync seems to run into permission issues).
>    
     Here is my rsync control file for a complete backup.

karl at Lucid:~/bin$ more mybackup
# this file backs up my computer
# rdiff-backup  --exclude=/home/karl/bin/exclude-list  / /media/disk-1/rdiff
# rsync -vazH --exclude-from=/home/karl/bin/exclude-list / /
# . /media/disk-1/back
# sudo rsync -auv --exclude-from=/home/karl/bin/exclude-list /
# /media/disk-1/back/
#sudo rsync -av / --exclude-from=/home/karl/bin/exclude-list
#/media/disk-1/test
rsync -avz / --exclude-from=/home/karl/bin/exclude-list /media/disk/backup94

I have my backup disk connected to /media. It works fine with zero 
permission problems.

73 Karl





>    I realize that I will run into some app config issues by not copying
> the .config folders etc., but that's OK&  to be expected.
>
> Suggestions?
> Note: (the machine is 10.04 - gnome - upgraded from dapper through lucid)
>
>
>    


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D






More information about the ubuntu-users mailing list