LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 08-19-2008, 06:46 PM   #1
abovenbeyond
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
SSH option question... (How to)


Hello all,
I have a desktop I would like to sync to my laptop...

I thought this would just be a simple task, no big deal... right??

Well for some reason it hasn't been so.

Here is what I want to do, I want to sync my entire home dir from the desktop to the laptop. Here is what I have been running...

rsync -arvuz --delete /home/user/ ipaddress:/home/user/

But this is also copying over the settings which are different I guess because I keep getting a white screen after I log in on the laptop after a sync.

Should I just remove the "r" in -arvuz (-avuz) thats recursive right?

Or is this even the best way? Should I be using scp -r sort of command?
 
Old 08-19-2008, 07:09 PM   #2
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Hi,

Rsync is an amazing tool with many options. Go through the man pages and check them out.

You could use exclude/include lists. The simplest though would probably be to store all the files you want to transfer in one place. No need to sync .kde,.ssh, ... it will only cause trouble.

Oh and make sure you delete after all the files where synked... just in case

Hope this helps,
-Edoardo
 
Old 08-19-2008, 07:15 PM   #3
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Don't blindly copy over configuration files used by the desktop environment or other programs. Such files/directories are typically named to start with a dot (.), to be hidden by ls. Exclude from your list of files to sycn, the files that are not created by you, or that are created and manged by some other program such as the desktop environment (eg. .gnome*).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Delay in SSH login & find apache server configure option tanveer Linux - Server 3 07-07-2008 07:00 AM
question about gcc/g++ -M option George2 Programming 4 04-27-2006 11:02 PM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 04:09 AM
telnetd problems, SSH not an option Rocker Linux - Networking 3 08-26-2004 08:23 AM
XF86Config-4 option question? RecoilUK Linux - General 1 08-30-2001 01:38 AM


All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration