> I have a bash script for rsync that should tranfer all my filer from one
> drive to the other.
>
> I would like to know how I can make the script sending me an email after the
> script is run and be able to know if it was a success or not and also if
> possible to include the log file.
You
On Tue, 5 Jan 2010, Wayne Davison wrote:
On Mon, Jan 4, 2010 at 12:33 PM, wrote:
rsync -vaxH --numeric-ids --delete --exclude=/home/apache/logs \
--link-dest=/mnt/200912/newharbor/home -e ssh
newharbor.safeport.com:/home \
201001/newharbor/home/
Is that newharbor/home/
On Mon, Jan 4, 2010 at 12:33 PM, wrote:
> rsync -vaxH --numeric-ids --delete --exclude=/home/apache/logs \
> --link-dest=/mnt/200912/newharbor/home -e ssh newharbor.safeport.com:/home
> \
> 201001/newharbor/home/
>
Is that newharbor/home/home dir really desired? Without a trailing slash on
Matthias Schniedermeyer wrote:
> On 05.01.2010 05:36, grarpamp wrote:
> > > That option can be easily missed it's: --size-only
> >
> > That seems like at least part of what would be useful :)
> > Certainly it covers the most common case of modtimes.
> >
> > However, it doesn't seem to work :(
> >
On 05.01.2010 05:36, grarpamp wrote:
> > That option can be easily missed it's: --size-only
>
> That seems like at least part of what would be useful :)
> Certainly it covers the most common case of modtimes.
>
> However, it doesn't seem to work :(
>
> cp -p /etc/passwd a
> cp -p /etc/passwd b
> That option can be easily missed it's: --size-only
That seems like at least part of what would be useful :)
Certainly it covers the most common case of modtimes.
However, it doesn't seem to work :(
cp -p /etc/passwd a
cp -p /etc/passwd b
ls -liT a b
5 -rw-r--r-- 1 user wheel 1706 Dec 25 03
On Mon 04 Jan 2010, d...@safeport.com wrote:
>
> The command works but copies all files, i.e. no hard links created.
>
> rsync -vaxH --numeric-ids --delete --exclude=/home/apache/logs \
>--link-dest=/mnt/200912/newharbor/home -e ssh newharbor.safeport.com:/home
> \
>201001/newharbor/ho
On 05.01.2010 02:33, grarpamp wrote:
> How do I make rsync ignore and not report or update certain parts
> of the [l]stat(2) struct or checksum when selecting which items to
> report or update in a hierarchy?
>
> For example, I want to run:
> rsync -Haxi --delete /hier1/ /hier2/
> and have it NOT