After upgrading my OnePlus 6T from Android 9 to 11, all my images disappeared in WhatsApp, with typical error message:
"Sorry, this media file doesn't exist on your internal storage"
The reason seems to be (see this link) due to the fact that the location of the media folder changed, from WhatsApp/Media
at the first level to Android/media/com.whatsapp/WhatsApp/Media
.
So I am now trying to migrate this folder, by connecting my phone to my (Linux ) computer and using rsync
: rsync -avhz /path on computer/Internal\ shared\ storage/WhatsApp/Media/WhatsApp\ Images /path on computer/Internal\ shared\ storage/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp\ Images
.
However, I am facing a few issues:
- I am not sure which folder I should transfer? I see in particular some
.Links
folder, should I include it? - Some files fail to be transferred with
rsync
, with message:rsync: mkstemp "/run/user/1000/gvfs/mtp:host=OnePlus_OnePlus_11e47384/Internal shared storage/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Images/WhatsApp Images/.IMG-20200210-WA0124.jpg.8YamlC" failed: Operation not supported (95)
what are those files? - Lastly, I am not sure I am using the right parameters to
rsync
:-(
Thanks!
adb shell
on your PC. Inside the adb shell you can move files without transferring them over USB twice (first download then upload).adb
command should I use? Is there one that allows a fine-tune sync asrsync
, in particular copying/moving files without overwriting the target (as the new whatsapp folders got filled in in the meanwhile)? Thanks!adb
command you suggest to use? As it seems there is norsync
, I should use a combination ofcp
andrm
to ensure that moving the files does not erase newer files on destination?adb
command you suggest to use? As it seems there is norsync
, I should use a combination ofcp
andrm
to ensure that moving the files does not erase newer files on destination?