Skip to content

Supersimmons/rcloneS3termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“€ Android Auto Uploader to S3-Compatible Storage (Cubbit, etc.) via rclone (Termux-based)

This script scans your Android device's Camera folder and automatically uploads all media files (photos, videos, etc.) to a remote S3-compatible storage, such as Cubbit, organized by year/month It is designed to run on Termux using rclone. πŸ”§ Features

βœ… Dry-run mode: simulate uploads before actually copying

πŸ“… Organizes files by modification date (year/month)

♻️ Skips files already uploaded (based on size/checksum)

🧾 Logs successfully uploaded files

🐚 Compatible with sh (Bourne shell) – works in Termux without requiring bash

πŸ—ƒ Compatible with

βœ… Cubbit S3

βœ… Any S3-compatible service (Wasabi, Backblaze B2, MinIO, etc.)

βœ… Also works with any rclone-supported backend (Google Drive, Dropbox, etc.) by editing the dest_base value

πŸ“ Folder Structure Example

β”œβ”€β”€ 2025/
β”‚   β”œβ”€β”€ 04/
β”‚   └── 05/

πŸ“„ Example Log Output

πŸ” Scanning files...
⬆️ Uploading IMG_20250426_141233.jpg β†’ s3remote:your-bucket/folder/2025/04/
⬆️ Uploading VID_20250501_102859.mp4 β†’ s3remote:your-bucket/folder/2025/05/
⏭️ File already exists with identical content: selfie_20250421.jpg
βœ… Upload completed: 2 file(s) uploaded to s3remote:your-bucket/folder/ (Files scanned: 3)

πŸš€ Requirements

  • Termux
  • rclone installed and configured with an S3-compatible remote
  • Access to your /DCIM/Camera folder on Android
  • Storage permissions granted in Termux:
    Run: termux-setup-storage

🀝 Contributing Feel free to submit issues or pull requests.

πŸ“„ License This project is licensed under the MIT License.

About

Script to copy photo from Android to S3 compatible storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages