Drive-Sync is an unofficial application designed to seamlessly watch and upload changes in files or folders to Google Drive. With Drive-Sync, you can automatically synchronize your local files and folders with your Google Drive account, ensuring that your data is always backed up and up-to-date.
- Automatic Synchronization: Monitors specified directories for changes and uploads new or modified files to Google Drive.
- Folder and File Tracking: Currently tracks and syncs creates, deletes, moves, and renames of files and folders.
- Configurable Watch Directories: Set up and manage the directories you want to watch for changes.
Please note that Drive-Sync is currently in the development phase. The application is being actively worked on, and while the core functionality for monitoring creates, deletes, moves, and renames is implemented, additional features and improvements are planned for future releases.
To install Drive-Sync, follow these steps:
-
Enable the COPR repository:
sudo dnf copr enable khanmf/drive-sync
-
Install Drive-Sync:
sudo dnf install drive-sync
Once installed, you can use Drive-Sync with the following commands:
-
Login to Google Drive:
dsync login
This command will authenticate your Google account and set up the connection.
-
Add Directories to Watch List for Sync:
dsync add dir <Path> <Path>...
Add one or more directories to the watch list for synchronization.
-
Get Watched Directories:
dsync get list -d
Use this command to list all watched directories.
-
Get Watched Files:
dsync get list -f
List all watched files.
-
Get Uploaded Entries:
dsync get list -u
List all uploaded files and directories.
-
Get Not Uploaded Entries:
dsync get list -n
List all files and directories that have not been uploaded.
-
Get Modified Entries:
dsync get list -m
List all modified files and directories.
-
Get Unmodified Entries:
dsync get list -s
List all unmodified files and directories.
Upon logging in, Drive-Sync will create a Computer directory and a Computer/{host} directory in your Google Drive. It will then upload the directories on the watch list, maintaining their absolute paths. The same applies to files.
Contributions to Drive-Sync are welcome! If you have suggestions, bug reports, or enhancements, please create an issue or submit a pull request on the Repository.
This project is licensed under the MIT License - see the LICENCE file for details.
Drive-Sync is an unofficial application and is not affiliated with Google. Use this tool at your own risk. Ensure you comply with Google Drive’s API usage policies and terms of service.