Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 898 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 898 Bytes

php-megasync

PHP implementation of megaSync.

Important

php-megasync is one side Sync only
Local -> Remote (with removal)

Requirement

You need to have a linux server with running php. php exec() function must be accepted to allow you to use correctly the service. on your Linux server you need to install one packet megatools who can be here:
https://github.com/megous/megatools

Prepare Project

  • Edit megasync.php and set Login details

Additional options

$megatools->CONFIG["LOG"] = true;  
$megatools->CONFIG["EXTENSION"] = array("jpg", "png", "gif");

Run sync

$ php megasync.php "/local/folder" "/mega/folder"

Info

  • Run script from console to avoid http timeouts.
  • Use tmux if you have a lot of files.