Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Help on a script...
- Date: Mon, 04 Jun 2012 08:11:22 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Help on a script...
- References: <CAJA1Y2YMkk_5zub8HbUEXD-wenEmmGSOaB0nauhkT2+C97CVmA@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
> I have a question for you: Do you know how to copy (rsync via ssh) a tree > only, no files? I just want to avoid long log file, with directories... Hello Bruno, Have followed this thread can I confirm your question is: * You want rsync to act as now, doing all the copy of new and changed files * You want it to be quieter ? And by quieter you mean: * Still tell you about files that being copied * Not tell you about files that are not changed * Not tell you about directories in which no files changed. ? When I use rsync I thought it already had that behaviour. It only shows me a directory in which there are some files it is copying, and that does not feel like noise. The rsync command I use is, as follows; I believe it is standard: RSYNC="rsync -avz --delete -e ssh --safe-links" To remove mention of the directories completely you could filter output through grep to remove any lines that end in a forward slash: rsync ... source target | egrep -v '/$' Darren -- Darren Cook, Software Researcher/Developer http://dcook.org/work/ (About me and my work) http://dcook.org/blogs.html (My blogs and articles)
- Follow-Ups:
- Re: [tlug] Help on a script...
- From: Bruno Raoult
- References:
- [tlug] Help on a script...
- From: Bruno Raoult
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Help on a script...
- Next by Date: [tlug] Help on a script...
- Previous by thread: Re: [tlug] Help on a script...
- Next by thread: Re: [tlug] Help on a script...
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links