LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 10-22-2004, 07:33 PM   #1
bikov_k
Member
 
Registered: Sep 2004
Distribution: Fedora Core 5
Posts: 33

Rep: Reputation: 15
Question transfer user profile


Hi! Let's assume that there's a user bob with /home/bob and let's assume that he has customized his gnome, mozilla, etc programs to suit his needs. How would bob transfer his preferences, settings, profile whatever to some other user account in the same machine, let's say poly.

I am asking because I have customized my desktop and everything and I want my girlfriend to has the same customizations.

I tried copying all file from /home/bob into /home/poly but that somehow does not work! By the way, what is the right way of copying hidden files?

Thanks!
 
Old 10-22-2004, 07:58 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Code:
cp -r /home/bob/* /home/poly
chown-R  poly:poly /home/poly/*
That smiley face is a : and a p

To copy just hidden files
Code:
cp -r /home/bob/.* /home/poly
add the -r option to recursively copy directories.

Last edited by darthtux; 10-22-2004 at 07:59 PM.
 
Old 10-22-2004, 08:22 PM   #3
bikov_k
Member
 
Registered: Sep 2004
Distribution: Fedora Core 5
Posts: 33

Original Poster
Rep: Reputation: 15
I really don't know why cp * does not copy hidden files for me. I must have tried it ten times today. Do you have any idea why?

if I write "cp -r folder1 folder2 " it will copy the whole folder1 into a sub folder of folder2 and it will include hidden files.
But if I write " folder1]# cp -r * folder2" hidden files are not copied
 
Old 10-22-2004, 08:40 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
I don't know why but it was designed that way. I personally like it that way. I think it prevents people from accidentally overwriting config files.

Here is some more information on how to copy hidden files
http://www.ssc.com/pipermail/linux-l...ly/005612.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 03:00 PM
user profile ust Linux - Software 1 10-04-2005 07:01 AM
rh9 user profile pld Linux - Software 0 07-30-2003 08:43 PM
user profile problem syedusman Linux - Software 2 05-30-2003 12:12 PM
user profile nautilus_1987 LQ Suggestions & Feedback 2 09-01-2002 04:03 AM


All times are GMT -5. The time now is 01:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration