slfert.blogg.se

Acrosync delete files not on the other side
Acrosync delete files not on the other side








acrosync delete files not on the other side
  1. #Acrosync delete files not on the other side install#
  2. #Acrosync delete files not on the other side archive#
  3. #Acrosync delete files not on the other side Pc#

That done, and successfully tested from a shell prompt, remains the question of automation. The above should be done either in a terminal app or via adb shell. Assuming you've pushed the binary to /mnt/sdcard: su

#Acrosync delete files not on the other side install#

As this wiki points out, you can directly download the rsync binary from here¹, then push it to your Android device, and install it. There once was an app on Playstore called rsync backup for Android, but it's no longer there. Now that the "how" is covered, question remains: Where is rsync? It usually doesn't come pre-installed on the device, and most Busyboxes seem to not include it either.

acrosync delete files not on the other side

You might wish to try the above on a small source first to see how it works. not the /mnt/sdcard symlink as in the example), or it might just copy the symlink over and think that's all you wanted :) Note: make sure to specify the real mount points or at least real directories here (e.g. Note that we specified both as directories, so all content, also hidden files, should be included as well (the latter wouldn't if we had used a mask like /mnt/sdcard/*). remaining parameters specify the source to copy from ( /mnt/sdcard) and the target to copy to ( /mnt/usb).-delete takes care to remove files on the target (here: /mnt/usb) which are not/no-longer available at the source (here: /mnt/sdcard).

#Acrosync delete files not on the other side archive#

For details, please refer to What is archive mode in rsync? on our sister-site. This includes to recursively copying contents (directories, subdirectories, files), keeping filestamps and ownership (the latter usually requires root), preserve permissions, etc. rsync obviously is the executable/command.Taken all your requirements into account (including those mentioned later in chat), the command line would look like this: rsync -a -delete /mnt/sdcard /mnt/usb The rsync command can be used to accomplish that. Though in the meantime there was another rsync answer posted, you've asked me to present our solution as well – so here we go:

#Acrosync delete files not on the other side Pc#

I am strapped for time and need to get this working ASAPĪs we figured out the solution you now use in chat, this answer should comply with "being tested", "not involving a PC or file manager" and "relying on verified sources". However, if OS is to be modified on any way, please highlight as systemless doesn't permit it, though there is a work around ) ( Being a rooted device with systemless root, solutions using root are fine. Being a bounty question (almost), I expect that I should be able to straightaway implement successfully without seeking clarifications. I know nothing of these means so Please do provide complete details. I discussed this need on chat and some potential candidates for solution included BusyBox, rsync and Tasker. Involving use of File Managers ( I had mixed results with these but then that is for another question)Īim of the above is not to deter solutions but to discourage frivolous attempts.

acrosync delete files not on the other side

References to claims from doubtful sources which can't be verified Involve PC, uploading to cloud, transferring to remote server etc Please note that I intend placing a bounty of 100, any answer meeting needs before I post bounty will be awarded similarly (I may delay posting the bounty to ensure I get a solution)Īre not tested - it should have been tested on your device and USB configuration to give it credibility Question: How can I do this ? I am open to any means MacroDroid automation fails, since app can't see USB (raised this in app forum) Unsuccessful app search- I wasn't able to find an app that can do this ( Folder Sync claims to but it can't see USB) If another busy box is to be installed, it's fine as long it doesn't clash USB drive recognised by device correctly connected by standard OTG ( Settings → Storage & USB )īusybox installed. Sync entire contents of ext SD to USB (one way sync without deletion of SD card contents ) on weekly schedule / on demand, as incremental backup without using a PC ( I do have one but reasons for not wanting to use it are not relevant) San Disk 128 GB USB - came shipped with FAT 32 reformatted to exFAT since I have folders > 4 GB on external SD Moto X Play - Android 6.0.1, Rooted (Systemless root)










Acrosync delete files not on the other side