Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.apps > #37175

Re: ftp software

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.apps
Subject Re: ftp software
Date 2016-10-22 01:36 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <e6vu5dFkri8U1@mid.individual.net> (permalink)
References (2 earlier) <201610171041486960-xxx@yyyzzz> <e6kj50FubbeU1@mid.individual.net> <nudrbh$8gd$1@dont-email.me> <e6vd94Fhn7lU1@mid.individual.net> <2016102115143675336-xxx@yyyzzz>

Show all headers | View raw


On 2016-10-21, gtr <xxx@yyy.zzz> wrote:
> On 2016-10-21 20:48:36 +0000, Jolly Roger said:
>
>> On 2016-10-21, Fred Moore <fmoore@gfcn.huh> wrote:
>>> On 10/17/16 2:21 p, Jolly Roger wrote:
>>>> No, Fetch does do synchronization:
>>>> 
>>>> <https://i.imgur.com/MERPgHu.png>
>>>> 
>>>> The reason I would use rsync is it can be done completely in the
>>>> background, with no user interface, on an automated (periodic) basis.
>>>> Fetch can be automated as well, but not without all of the overhead of
>>>> launching the Fetch application and so on.
>>> 
>>> If you want to use rsync, let me suggest BackupList+. It's excellent
>>> donationware which loads its own version of rsync, usually more recent
>>> than Apple's. It can easily run in the background and automatically
>>> backup files, folders, or volumes on schedule, say every hour if you like.
>>> 
>>> <http://robdutoitsoftware.com>
>>> 
>>> There is a manual on the available .dmg file.
>>> 
>>> Just a satisfied user.
>> 
>> Thanks. I'll check it out some time.
>
> Actually as I consider my true operational needs, what I'll need is a
> script that deletes a folder on my server, and copies one on my drive
> to replace it.  No more.

That's potentially very inefficient because you will quite likely be
transferring files that have not changed. A better way would be to only
transfer what has actually changed so that the destination is
technically the same as the source, rather than replacing everything no
matter what. That happens to be exactly what rsync is designed to do. 

> So it really is a hot-key or "go" button that would do the trick for
> me. 

You can create an rsync command file and initiate it with a double-click
if you want: 

1. Use TextWrangler or any plain text editor to create a file
with this single-line command in it:

/usr/bin/rsync --progress --times --itemize-changes --stats
--human-readable --checksum --recursive --links --owner --group --perms
--executability --compress --exclude='.svn/' --exclude='.DS_Store'
/source/path/here dest/path/here

2. Save the file with the name "sync.command".

3. Double-click the command file to execute it in a new terminal window. 

It's that simple. I use the above in scripts to synchronize various
content between my workstation and a server. You can, of course, change
the command-line switches to do anything else you want. For instance, to
exclude other files or folders, add an --exclude switch.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ftp software gtr <xxx@yyy.zzz> - 2016-10-16 15:50 -0700
  Re: ftp software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-10-16 23:00 +0000
  Re: ftp software MalcolmO <user@domain.invalid> - 2016-10-16 19:35 -0400
    Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-16 16:43 -0700
      Re: ftp software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-10-17 05:04 +0000
      Re: ftp software MalcolmO <user@domain.invalid> - 2016-10-17 16:34 -0400
        Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-17 17:03 -0700
          Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-18 00:15 +0000
            Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-17 17:47 -0700
              Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-18 00:54 +0000
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-17 19:03 -0700
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-18 02:35 +0000
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-17 20:42 -0700
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-18 16:59 +0000
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-18 13:04 -0700
                Re: ftp software MalcolmO <user@domain.invalid> - 2016-10-18 20:35 -0400
          Re: ftp software MalcolmO <user@domain.invalid> - 2016-10-18 20:30 -0400
            Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-19 00:32 +0000
              Re: ftp software Savageduck <savageduck1@{REMOVESPAM}me.com> - 2016-10-18 18:04 -0700
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-19 01:08 +0000
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-18 20:25 -0700
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-18 20:33 -0700
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-19 15:33 +0000
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-19 15:43 +0000
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-19 10:55 -0700
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-19 11:05 -0700
                Re: ftp software Savageduck <savageduck1@{REMOVESPAM}me.com> - 2016-10-19 11:20 -0700
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-19 18:23 +0000
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-19 18:15 +0000
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-19 12:53 -0700
                Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-19 20:36 +0000
                Re: ftp software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-10-19 00:28 -0500
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-18 23:13 -0700
                Re: ftp software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-10-19 13:19 +0000
              Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-18 20:23 -0700
    Re: ftp software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-10-17 05:02 +0000
      Re: ftp software MalcolmO <user@domain.invalid> - 2016-10-17 16:38 -0400
  Re: ftp software ErikRS <mac-dane@is.invalid> - 2016-10-17 03:06 +0200
    Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-17 10:42 -0700
  Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-17 01:47 +0000
    Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-17 10:41 -0700
      Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-17 18:21 +0000
        Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-17 13:15 -0700
        Re: ftp software Fred Moore <fmoore@gfcn.huh> - 2016-10-21 15:47 -0400
          Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-21 20:48 +0000
            Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-21 15:14 -0700
              Re: ftp software Jolly Roger <jollyroger@pobox.com> - 2016-10-22 01:36 +0000
                Re: ftp software gtr <xxx@yyy.zzz> - 2016-10-21 23:33 -0700
          Re: ftp software Michael Vilain <mev94303y@yahoo.com> - 2016-10-22 06:20 -0700

csiph-web