LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2004, 01:51 PM   #1
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
How to have rsync skipp certain file typs


Here is the rsync scrip that i have been running

#! /bin/sh
#This script is to sync /home/midgett/ with outside backup machine
echo "Syncing drive personal directory"
rsync -e ssh -avz --delete --progress /home/mmidgett/ root@midgettsvr:/home/midgett/mmidgett/


I need to have this skip .ISO files. How do I do this?
 
Old 10-15-2004, 02:23 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just use --exclude:
--exclude "*.ISO"

For more info usage, see the man page:
man rsync
 
  


Reply



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
rsync Does Not Preserver File Ownership VorlonInfoTech Linux - General 4 10-20-2005 11:19 AM
Can rsync read passwords from a file ? vmniza Linux - Networking 1 06-10-2005 01:25 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
rsync password-file not working kmoffat Slackware 6 08-02-2004 10:41 PM
rsync: where the heck is the .conf file? vrillusions Linux - Newbie 5 02-22-2003 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:37 AM.

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
Open Source Consulting | Domain Registration