Using rsync to synchronize GO Files with local PC

Get help from the community here.

Moderator: Developers

Using rsync to synchronize GO Files with local PC

Postby flo » Thu Jul 23, 2009 9:52 am

hi,
I wonder if it's possible to synchronize the GO files with a local pc, could these cause problems with uploaded files from the local pc, wich aren't uploaded through the GO interface?
flo
 
Posts: 87
Joined: Mon Jan 26, 2009 11:49 am

Re: Using rsync to synchronize GO Files with local PC

Postby Intermesh » Thu Jul 23, 2009 6:36 pm

No that's not a problem but you must run modules/files/scripts/sync_filesystem.php to import them into the database (Or press refresh in GO at the right folder).
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7077
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch

Re: Using rsync to synchronize GO Files with local PC

Postby kimt » Fri Jun 15, 2012 10:08 pm

Hi Merijn,

Can this be done through command line, aka like in combination with a rsync script that is syncing files from another GO server ?

Thanks
/Kim
kimt
 
Posts: 4
Joined: Wed Sep 28, 2011 8:46 pm

Re: Using rsync to synchronize GO Files with local PC

Postby Intermesh » Tue Jun 26, 2012 8:05 am

Yes, in GO4:

sudo -u www-data ./groupofficecli.php -r=files/folder/syncFilesystem

You will get an action denied in current version. Next version won't authenticate on the CLI.
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7077
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch


Return to General help

Who is online

Users browsing this forum: No registered users and 1 guest