directory structure of files and folders synchronised to both local drive and server by ftp with one save action?

95 views
Skip to first unread message

ben

unread,
Apr 2, 2012, 9:57:20 AM4/2/12
to BBEdit Talk
hi,

subject says it all I think.

open a directory section -- files and folders. edit a file. save it.
it gets saved to both the local hard drive and the server at the same
time. edit another file, save it, it gets saved to local drive and
server, etc. possible with bbedit 10 ?

thanks, ben

François Schiettecatte

unread,
Apr 2, 2012, 10:18:44 AM4/2/12
to bbe...@googlegroups.com
Nope, I think Interarchy does this with Netdisks though:

http://nolobe.com/interarchy/

I am sure there are others, I just like Interarchy.

François

> --
> You received this message because you are subscribed to the
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to bbe...@googlegroups.com
> To unsubscribe from this group, send email to
> bbedit+un...@googlegroups.com
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem,
> please email "sup...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Phil Dobbin

unread,
Apr 2, 2012, 11:24:45 AM4/2/12
to bbe...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Transmit from Panic software will do it. It will also mount remote disks
on your ~/Desktop for even easier editing.

Cheers,

Phil...

- --
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPecS6AAoJEKpMeDHWT5ADakIH/jimRPrbFeeMdeJsox8qsPWp
sKA6HI9Q2xHIUWW2djdsGGx/TsxHO6/0MN926KNTUH+yXxJtgaRr/wRXXfOLfpHQ
IOMOWxjxIT93XqfZh2dXLpawJoZ0QBnMWTt8G7sPY1/4XtEURxFOu79e3AtNcSem
vG9IaegdVLjeRZZ3oJbOd2u0f/W0qprFonQPJl6eka6cbaulBWXfGeyYUEVhMcoV
im8oqX97tt0PJfuFjNo/0TWXHac+4/7flTcwyG6TvqVF3ET4WFRNatqSxk6R6lL2
vC4cOMnAgl2tq1wGfeBSbXeGqKWQZraVqjoEwCCzZAws3yXX0ZU12yJ6AIPsj0Q=
=cKQ0
-----END PGP SIGNATURE-----

TJ Luoma

unread,
Apr 2, 2012, 12:55:47 PM4/2/12
to bbe...@googlegroups.com


On Apr 2, 2012, at 10:10 AM, ben <b...@hdbatik.co.uk> wrote:

open a directory section -- files and folders. edit a file. save it.
it gets saved to both the local hard drive and the server at the same
time. edit another file, save it, it gets saved to local drive and
server, etc. possible with bbedit 10 ?

Others mentioned Interarchy and Transmit (I found Transmit much easier to learn and use, but try them both)

If you aren't afraid of the command line, try this:

https://github.com/joshdick/pytograph

"In a nutshell, you instruct pytograph that there are directory structures on your machine that match directory structures on a remote machine. It monitors the directories on your local machine for changes, then makes identical changes on the remote machine in real time via SFTP. So, if you add/update/delete a file locally, that same file will be automatically added/updated/deleted on the remote machine. If you delete a directory locally, that same directory will be deleted from the remote machine."

I should mention that I found this via http://onethingwell.org/ which is a good site to follow for these sort of "I didn't know that existed but now I want to use it" sort of utilities. Not exclusively Mac stuff but definitely the majority. 

TjL

Ben Dougall

unread,
Apr 2, 2012, 12:29:00 PM4/2/12
to bbe...@googlegroups.com
Two copies, one save (one save from/in BBEdit)?

I know Transmit will synchronise one directory structure with another. You do your save, say from BBEdit, then you go into Transmit and say "synchronise" which takes a bunch of clicks having saved to the local directory.

What I'm after is two saves from one save -- one to the local drive, one to the server.

Thanks,
Ben.

Phil Dobbin

unread,
Apr 2, 2012, 6:22:14 PM4/2/12
to bbe...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/04/2012 17:29, Ben Dougall wrote:

> Two copies, one save (one save from/in BBEdit)?
>
> I know Transmit will synchronise one directory structure with another. You do your save, say from BBEdit, then you go into Transmit and say "synchronise" which takes a bunch of clicks having saved to the local directory.
>
> What I'm after is two saves from one save -- one to the local drive, one to the server.

Not sure you can get it done with one click unless you script the action
you're after. This list is blessed with some expert Applescripters who
I'm sure would be more than happy to help out.

Failing that SSHFS (like Transmit) is your best bet I think.

Cheers,

Phil...

> On 2 Apr, 2012, at 4:24 pm, Phil Dobbin wrote:
>
> On 02/04/2012 14:57, ben wrote:
>
>>>> subject says it all I think.
>>>>
>>>> open a directory section -- files and folders. edit a file. save it.
>>>> it gets saved to both the local hard drive and the server at the same
>>>> time. edit another file, save it, it gets saved to local drive and
>>>> server, etc. possible with bbedit 10 ?
>
> Transmit from Panic software will do it. It will also mount remote disks
> on your ~/Desktop for even easier editing.

- --

But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPeiaUAAoJEKpMeDHWT5ADYFsIAMEz4pl1kyzkLAvhfbvxlFiO
VxuM7+16XnhLuy4H+Z2fJkaht0AHRouJwZDlCIknOaMq7Z9dDeB/y8J/hfdVC7av
zDlFK/rL1iXmL6dZbsXv+VR4aiGM5hO9CpF/eGPh5+jCHuZSRhiCVgyPO5pxJw0+
+kcQAIV1VjlL7YZnB6S6d6dngfqc42/TlhXYRpapd2tgqPtOD4gHGhxocBgnQ7CV
UQP7aj3ZP1Uj0uoCglngT5epZGLAtgBsMinV8YcVgmJUkfj7r8TpCpynrDz4ecSc
x4mtSlMoxkIUPeDTdXi6928L0aDh8uwnXC7u0g/QqlbwRgoANlEKdilknU7oNok=
=I2ln
-----END PGP SIGNATURE-----

TJ Luoma

unread,
Apr 2, 2012, 6:22:43 PM4/2/12
to bbe...@googlegroups.com
On Mon, Apr 2, 2012 at 12:29 PM, Ben Dougall <b...@hdbatik.co.uk> wrote:
> Two copies, one save (one save from/in BBEdit)?

Another option just occurred to me:

Transmit, Interarchy, or ExpanDrive (http://www.expandrive.com/) and Hazel 3.

Hazel 3 has a 'sync' option. It only works on folders mounted on that
Mac, but if you mounted the server as a 'local' folder, I think it
would work.

(I'm using it to sync my Byword iCloud folder to Dropbox.)

TjL

Charlie Garrison

unread,
Apr 2, 2012, 6:34:09 PM4/2/12
to bbe...@googlegroups.com
Good morning,

On 2/04/12 at 6:57 AM -0700, ben <b...@hdbatik.co.uk> wrote:

>open a directory section -- files and folders. edit a file. save it.
>it gets saved to both the local hard drive and the server at the same
>time. edit another file, save it, it gets saved to local drive and
>server, etc. possible with bbedit 10 ?

I used to have an AppleScript attached to the Save menu item
which would upload (FTP) files to remote server every time they
were saved. I stopped using that years ago in favour of ExpanDrive.

I can share the AppleScript if you're interested, but it was
very specific to my setup and workflow.


Charlie

--
Ꮚ Charlie Garrison ♊ <garr...@zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

Phil Dobbin

unread,
Apr 2, 2012, 6:50:49 PM4/2/12
to bbe...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I hadn't thought of that. I have Byword synced to Calepin via Dropbox.
Also ifttt synced similarly which may be an even better option...

Cheers,

Phil...

- --
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPei1HAAoJEKpMeDHWT5ADtK0IAIwiueNbBiwEx0O88sYbit+z
BZM2NTsoYA+d886mzwPM0S7Gqs241xzsaYQn5ilikPrt/cM5uKgPPmTAEugS5Kgs
tIv/WwLuKu+Sb7uvupgLmjp5k0s4qEwzPUA4ilvGs2hoynNQfeVerw6/op3hs7ds
i0PD8qOBacEwrT4uoFz76atuRTpbdUZBC0D1oPdxA0jjES+FFeBiegUChAtjBF0z
z/KA4bv59SmIggTpZHEi1+yV2wznU49h7SXnfMRPmYU2Yygqvl7/qplTQGIu99AK
8lBTjKhWfyr3X9aH/YzhFD/+p2NlC4YF8HF83RFiUOOUDpyG96JS7gYgFTvVc4E=
=fZOd
-----END PGP SIGNATURE-----

Fletcher Sandbeck

unread,
Apr 2, 2012, 6:13:43 PM4/2/12
to bbe...@googlegroups.com
On Apr 2, 2012, at 9:29 AM, Ben Dougall wrote:

> Two copies, one save (one save from/in BBEdit)?
>
> I know Transmit will synchronise one directory structure with another. You do your save, say from BBEdit, then you go into Transmit and say "synchronise" which takes a bunch of clicks having saved to the local directory.
>
> What I'm after is two saves from one save -- one to the local drive, one to the server.

There are a number of sync tools that will keep two directories in sync with automatic scans. Synk Pro worked well and has a nice UI. I ultimately went with Unison since it's performance seemed better on a large number of files. You can also use rsync at the shell level or could script a Folder Action with AppleScript or Automator to automatically trigger a Transmit synch.

[fletcher]

Reply all
Reply to author
Forward
0 new messages