What version is the USB connection? That affects speed bigtime. We have garmin basecamp running from a small NAS and it takes 1.5+ hours to move 2GB of map data out over USB to a single hand held meter.
I doubt that it is your cpu. If you can get drivers, consider upgrading the USB.
Your find command to delete files is a very standard thing to do.
Regarding rsync - if it takes a long time to do the same backup where there are lots of identical untouched files in the archiove and the source, then it is an rsync parameter problem. By default rsync uses filetimes.
To preserve filetimes in your rsync:
Do this
So when location1 files have the same timestamp as on location2, they are skipped over.
Also, do not use -bwlimit, it throttles throughput.
I have the following rsync script that I use for syncing MySQL files from one server to another. I run the script at 20 minutes past every second hour in cron. I want to make sure that the script completes in it's entirety before it is set to kick off again. For example, when the script starts at... (3 Replies)
Hi all,
I am a newbie in unix and i want a script which should sync files between two servers like rsync.
The condition is that.
after rsync command is completed it should also list me how many files has been changed during the rsync execution.
if the rsync execution has failed , then... (2 Replies)
Hello,
I wish to store the password in an rsync script so that when prompted it just enters the password.
I know I can set up passwordless logins, but I have never been able to do this on this particular server so I am resorting to storing the password in the script:
rsync -avz -e ssh... (4 Replies)
hello,
i need to modified my synch/back scripts....
i want that this script only syncro folders in destinationfolder.
f.e. when in destination are two folders
1) admin
2) users
but in SOURCE are three:
1) admin
2) users
3) antivirus
the script should only increnmential sync the... (0 Replies)
Hi
I have a rsync that runs from a remote location to our central data store.
The sync generates a log locally not in the central location.
I would like to modify the rsync to add the following
The log, instead of filing locally it gets sent to a area on the central data store
once the syncs... (0 Replies)
Good day all,
I need your help in editing a rsync script that I am trying to write and using ksh shell.
I want to add multiple patterns --include and --exclude options with variable inputs called SID. I have created two files and named them N1 and N2 and created subfiles in each one
In N1... (1 Reply)
Good day all,
I need your help in editing a rsync script that I am trying to write and using ksh shell.
I want to add multiple patterns --include and --exclude options with variable inputs called SID. I have created two files and named them N1 and N2 and created subfiles in each one
In... (4 Replies)
Hello Friends,
I am trying to create an rsync file restore script. I will post want I have below and explain the problem I am having.
#!/bin/bash
#
# Partial Rsync File Restore Script
#
#
clear
echo
# Shell loads into /raid0/data/backup/bin/
cd .. # I cd to the backup... (1 Reply)
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)