Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rsync]

'rsync' is a synchronization protocol originating on Unix/Linux platforms, but also has been ported to Windows. It is used to synchronize files and directories.

-1
votes
0answers
55 views

How to rsync to SD card?

I have SSHelper installed which allows me to rsync (pull) from my SD card and to rsync (push) to the internal storage. However, I would like to be able to rsync (push) to the SD card. On a Linux ...
0
votes
1answer
346 views

Backup of internal and SD storage via script (USB)

tl;dr I want to backup my internal storage and SD card contents when connected via USB cable due to potentially large amounts of data I don't want to use WiFi-based programs failed attempt at using ...
0
votes
1answer
66 views

zsh scp completion of remote files doesn't work when running SSHHelper

Running SSHelper is a great way to access files on your phone. But completion of remote files (scp and rsync) using zsh doesn't work though. While using sshfs is a workaround but sometimes you just ...
6
votes
2answers
1k views

Sync ext SD to USB OTG **without** using a PC

Device Details Moto X Play - Android 6.0.1, Rooted (Systemless root) Samsung 64 GB ext SD San Disk 128 GB USB - came shipped with FAT 32 reformatted to exFAT since I have folders > 4 GB on external ...
1
vote
0answers
134 views

Fix SELinux labels after restoring /data on CM 12.1

I restored an automatic backup on Cyanogenmod 12.1 created with rsync of my /data partition, but now SELinux is denying apps access to their data. Disabling SELinux "fixes" this problem, but can I ...
2
votes
1answer
316 views

Is root ownership inherited in shell scripts? (rsync via ssh permission denied)

I am running Android Revolution HD 52.0 custom ROM (Android 4.3) with Koush's superuser 1.0.3.0 on a Samsung Galaxy S3 GT-I9300. In the hope of using some native shell applications on my phone for ...
2
votes
2answers
5k views

Stock Google Music app does not scan subdirectory in Android 4.2.1

Is it a bug in Jelly Bean 4.2.1 that subdirectories within the Music directory are not scanned for music files? UPDATE: I just verified that copying using cp or using Nautilus on Ubuntu or Windows ...
6
votes
2answers
19k views

scp and rsync to transfer data from Linux to Android

I'd like to be able to push PDF files onto a phone/tablet with a Bash script. Is it possible to transfer data using scp (or even rsync) from a Linux computer to an Android phone over wireless? Could ...
3
votes
2answers
2k views

What folders should I backup to my computer

I have a SGS2 with ICS. The phone is rooted. I use Titanium Backup Pro for backup, but that only backups to the phone itself, so if the phone is stolen or lost those backups are gone as well. I have ...
5
votes
2answers
8k views

adb push: sync but not copy

adb push seems to push everything into the dest folder regardless of their changed/unchanged states. So it wastes a lot of time. Is it possible to sync rather than copy (i.e. to rsync rather than cp)? ...
1
vote
2answers
327 views

Questions about phone migration using rsync

I'm planning to get a new android phone and I'm wondering what's considered best practice to move all data and settings. I know that lots of stuff goes to google, but I'd like to migrate app data as ...
4
votes
2answers
345 views

Rsync does not preserve permissions while rsyncing from Android to Laptop

I am trying to do rsync from my android phone to my laptop. The problem that I am facing is that the permissions are not getting preserved even when the -p flag is used. I have also used the other ...