Re:rsync and exclude hidden files

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Amit Nepal
Date:  
To: plug-discuss
Subject: Re:rsync and exclude hidden files
Hi,
I am new to this list. Just wanted to be a part of the list.

You might want to use --exclude=".*/" in your rsync statement as
mentioned by Brian Cluff and if you need to include any specific file,
and that is hidden file
then you could add --include=".specialfile"

Thank you
Amit Nepal


wrote:
> Send PLUG-discuss mailing list submissions to
>     

>
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> or, via email, send a message with subject or body 'help' to
>     

>
> You can reach the person managing the list at
>     

>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PLUG-discuss digest..."
>
>
> Today's Topics:
>
>    1. How to rsync and exclude hidden files? ()
>    2. Re: How to rsync and exclude hidden files? (Brian Cluff)
>    3. OT: Telephone land line and DSL alternatives? ()
>    4. Re: OT: Telephone land line and DSL alternatives? (Eric Shubert)
>    5. Re: OT: Telephone land line and DSL alternatives? (Eric Cope)
>    6. Re: OT: Telephone land line and DSL alternatives? (AZ Pete)
>    7. Re: OT: Telephone land line and DSL alternatives?
>       ()
>    8. Re: OT: Telephone land line and DSL alternatives?
>       (Daniel Stasinski)
>    9. Re: OT: Telephone land line and DSL alternatives? (Eric Cope)
>   10. Re: OT: Telephone land line and DSL alternatives? (AZ Pete)
>   11. Re: OT: Telephone land line and DSL alternatives?
>       ()

>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 29 Apr 2010 17:12:10 -0600
> From: 
> Subject: How to rsync and exclude hidden files?
> To: 
> Message-ID:
>     <>
> Content-Type: text/plain;charset=iso-8859-1

>
>
> Thanks to the always excellent help and advice from my plug friends,
> I've been able to use 'rsync' to copy files between my Linux boxes,
> and it has been a tremendous help.
>
> However, from studying the man page, I can't figure out what the
> syntax should be to exclude hidden files. When I use this:
>
> rsync -avH --progress /home/joe/ joe@192.168.0.73:/home/joe/
>
> It copied all the hidden files and kind of messed up my laptop.
>
> How can I modify that command to exclude hidden files?
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 29 Apr 2010 17:30:04 -0700
> From: Brian Cluff <>
> Subject: Re: How to rsync and exclude hidden files?
> To:
> Message-ID: <>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> You should be able to use this command:
>
> rsync -avH --progress --exclude '.*' /home/joe/ \
>     joe@192.168.0.73:/home/joe

>
> Also try adding the -n or --dry-run flag before running your rsync show
> what it's going to do without actually doing it, so that you can make
> sure it's going to do what you think it going to do before it actually
> does it.
>
> Brian Cluff
>
> On 04/29/2010 04:12 PM, wrote:
>
>> Thanks to the always excellent help and advice from my plug friends,
>> I've been able to use 'rsync' to copy files between my Linux boxes,
>> and it has been a tremendous help.
>>
>> However, from studying the man page, I can't figure out what the
>> syntax should be to exclude hidden files. When I use this:
>>
>> rsync -avH --progress /home/joe/ joe@192.168.0.73:/home/joe/
>>
>> It copied all the hidden files and kind of messed up my laptop.
>>
>> How can I modify that command to exclude hidden files?
>>
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 30 Apr 2010 10:20:15 -0600
> From: 
> Subject: OT: Telephone land line and DSL alternatives?
> To: 
> Message-ID:
>     <>
> Content-Type: text/plain;charset=iso-8859-1

>
>
> Are there any alternatives to Qwest for land-line telephone and DSL service?
>
> Qwest has just raised their rates and I think some of the charges are
> unreasonable, particularly for voice mail and the portion of the DSL
> service that goes to M$ (which is the most irritating since I don't use M$
> for anything).
>
> For the land-line phone service, I pay $37.99/month which includes a
> second land-line and voice-mail for one line. But then they charge $6.20
> for each of the two lines for "Federal Access Charge" (probably can't do
> anything about that). But for voice mail on the second line, they charge
> an additional $7.95/month plus $3.95 for an extension mailbox. That part
> seems excessive to me. Surely there must be some other good alternatives.
>
> The broadband charges show as $38.00 for Qwest Connect Platinum
> plus $16.99 for Qwest Connect PLTNM w MSFT, less "bundle savings"
> of $5.00/month and a promotional discount of $15.00/month.
> So $54.99 - $20.00 = $34.99/month.
>
> Any suggestions?
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 30 Apr 2010 09:31:34 -0700
> From: Eric Shubert <>
> Subject: Re: OT: Telephone land line and DSL alternatives?
> To:
> Message-ID: <>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> wrote:
>
>> Are there any alternatives to Qwest for land-line telephone and DSL service?
>>
>> Qwest has just raised their rates and I think some of the charges are
>> unreasonable, particularly for voice mail and the portion of the DSL
>> service that goes to M$ (which is the most irritating since I don't use M$
>> for anything).
>>
>> For the land-line phone service, I pay $37.99/month which includes a
>> second land-line and voice-mail for one line. But then they charge $6.20
>> for each of the two lines for "Federal Access Charge" (probably can't do
>> anything about that). But for voice mail on the second line, they charge
>> an additional $7.95/month plus $3.95 for an extension mailbox. That part
>> seems excessive to me. Surely there must be some other good alternatives.
>>
>> The broadband charges show as $38.00 for Qwest Connect Platinum
>> plus $16.99 for Qwest Connect PLTNM w MSFT, less "bundle savings"
>> of $5.00/month and a promotional discount of $15.00/month.
>> So $54.99 - $20.00 = $34.99/month.
>>
>> Any suggestions?
>>
>>
>
> I don't know of an alternative to Qwest for DSL.
>
> If you have a cell phone, consider dropping the land line phone service
> entirely. I have Qwest DSL, with no phone service.
>
> If you think you need a phone line for fax, reconsider your faxing
> needs. Try life without fax. When you need to send a fax, there are
> services that will likely cost less than your phone line.
>
> If you must have a land line phone, consider using your own answering
> machine.
>
>



--
Thank you

Amit Nepal
Systems Administrator
Phoenix Internet
602-385-0731
602-234-0917 # 112


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss