Mirroring files

Joined
Aug 23, 2011
Messages
89
Reaction score
0
Points
6
Hello all,

My uni assigns everyone an FTP server which I use quite regularly. I use the standard copy and paste to mirror everything that I do on my MBP, on to my FTP space. I use Forklift for this. Im just wondering if there is a way to automate this? For example every half hour my MBP will connect to my FTP, compare the time stamp on the files, and if there is a newer one overwrite it with the new one? Perhaps using Automator??

I am aware that my TimeMachine does this sorta for me, but im thinking worst case scenario. That I either loose, or have my MBP and WD Passport stolen.

Any ideas at all will be appreciated
Thank you

Chris

EDIT: Sorry, I didn't know really know where to post this. I thought this might be perhaps the best place
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,106
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
OP
C
Joined
Aug 23, 2011
Messages
89
Reaction score
0
Points
6
Thanks alot for that!

Struggling with this massively though. Ive done some research and the error I'm getting is a EOF (end of file from what I can understand). Ive done alot of troubleshooting but for someone who knows no AppleScripting its less then easy.
On second thoughts, is this script just for a single file, instead of a whole directory?

Thank you so far!
Chris
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,106
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
The script is going to mirror all the contents of the "blog" directory. Including all subdirectories..

So is the general idea that you have a single directory that contains multiple files/directories that you copy over to the FTP server?

Can you show what your AppleScript looks like so far?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top