Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-01-2013, 11:29 AM   #1
Registered: Jan 2004
Posts: 468

Rep: Reputation: 30
Arrow how to rsync some dirs for backup?

I want to backup only some dirs from my home dir this is the command but didn't copy any one of them:
rsync -avEr --exclude '*' --include '.mozilla' --include '.filezilla' /root/ backup
Old 01-01-2013, 11:41 AM   #2
LQ Veteran
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,364
Blog Entries: 37

Rep: Reputation: Disabled
rsync -avEr --exclude '*' --include '.mozilla' --include '.filezilla' /root/ backup
Should that maybe be /backup ?


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
[SOLVED] Apple gcc: Insert include dirs between -I dirs and -isysroot dirs f.barker Programming 1 11-11-2011 11:19 AM
LXer: Backup with rsync and LXer Syndicated Linux News 0 09-14-2010 05:20 PM
rsync dirs w/o o+x perms (as root) guttersnipe Linux - Software 2 06-04-2009 11:54 PM
rsync error: errors selecting input/output files, dirs (code 3) at main.c(323) cucolin@ Linux - Networking 3 11-20-2007 05:56 PM
Rsync changing owner of dirs Harlin Linux - Security 1 03-30-2007 02:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 AM.

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