Skip to main content

Keep your files in sync

Project description

What is Fusion ?

Fusion is a command-line tool designed to streamline the process of keeping your computer and Android device in sync. It offers a user-friendly interface and efficient functionality to make file transfers and synchronization a breeze.

Requirements

  • Python: Ensure you have the latest Python installed on your system, you can download it from python.org .
  • Android Debug Bridge (ADB): fusion uses ADB under the hood to communicate with your device. You can find the latest ADB releases and download instructions on the Google Developer website .

Connecting your device

You have varous options to connect your device and all of them are written on the Google Developer website :

  • USB: Connect your device to your computer using a USB cable after enabling USB debugging on your device.
  • WiFi: Connect your device to your computer using the same WiFi network.
  • Hotspot: the wifi connection is not supported on Android 10 and lower or with a hotspot connection so you have to use a USB connection at first then use the app. Read along the Google Developer website for more information.

Installation

Use pip (Python Package Index) to install fusion:

pip install fusion-sync

The reason that the package is named fusion-sync is because fusion is already taken by a different package.

Usage

Pull files from your device to your computer :

fusion pull <source> <destination>

Push files from your computer to your device :

fusion push <source> <destination>

Synchronize files between your computer and device :

fusion sync <source> <destination>

Flags

  • --dryrun,--dry: Perform a dry run without actually transferring files.
  • --content,-c: Transfer content of the directory without the directory itself.
  • --skip,-p: Skip files that exist on both sides.
  • --sync,-s: Synchronize files, overwriting existing ones.
  • --force,-f: Force transfer, ignoring conflicts.
  • --reverse,-r: Reverse the direction of the synchronization.
  • --delete,-d: Delete files that don't exist on the other side.

P.S: You can only use one of sync, force or skip flags at a time as they are mutually exclusive.

P.S 2: reverse and delete flags are only for sync command.

Examples

To pull all documents from your device to a folder named "Documents" on your computer :

fusion pull /sdcard/Documents ./Docuemnts

Sync two directories and delete files that don't exist on your phone anymore :

fusion sync --delete ./Documents /sdcard/Documents

To push all documents from your computer to your device and change its name to MyDocs :

fusion push --content ./Documents /sdcard/MyDocs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fusion-sync-0.0.1.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fusion_sync-0.0.1-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file fusion-sync-0.0.1.tar.gz.

File metadata

  • Download URL: fusion-sync-0.0.1.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for fusion-sync-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d80ac0273eae63dbb12e1a8fc72039ee10ce0fe5f8cecd7f2a3e5d890d532510
MD5 b2cf1bf8f8fbfb8aa9c4ac1d048a217f
BLAKE2b-256 18f0f637362d89c60b5ab27aad7361562fba7922aff232754e038ffe3fe2353f

See more details on using hashes here.

File details

Details for the file fusion_sync-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fusion_sync-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for fusion_sync-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d67542e7494f38fae0fe1a3dc16312efe58b40f13ae936f1162901fe308c3377
MD5 0bf76e0333ea94326dcfe9ce8c404101
BLAKE2b-256 694e344872534f77dc298c337ec4632332a00175a3a7cb802f5e9e042939ccf7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page