rsync

Today I was sending a large number of files to my server.

With rsync I was getting ‘broken pipe’ errors after a few hours of syncing files. Not nice.

I realised I don’t need to rsync the files that are already at the remote location … so with the help of this tip I removed files older than a certain date.

http://stackoverflow.com/questions/3676810/bash-delete-based-on-file-date-stamp

So now my rsync is looping though a smaller amount of files.

Advertisements
Posted in bash

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: