REPRODUCIBILITY: 100%
OS VERSION: 4.6.x I forgot to check the busybox version before updating to 5.0.x, but I’m guessing it was 1.36.1 just as it is now
HARDWARE: 10 II (but this is not hardware-specific)
UI LANGUAGE: en_GB.utf8
REGRESSION: no
DESCRIPTION:
The busybox find applet has a bug that can result in data loss.
PRECONDITIONS:
Use find on the command line
STEPS TO REPRODUCE:
find -name '*something*' => finds n results under the current directory
find -name '*something*' -delete => deletes results that are elsewhere in the filesystem
EXPECTED RESULT:
Only files that were previously found with the same regex will be deleted.
ACTUAL RESULT:
Files that were not in the previous search result also get deleted
(edit: i’m not saying youre wrong, of course, in that POSIX find says its required…but as far as i know, only macosx peasants have to actually live with such a sadly impoverished shell)
that does sound like a bug to me, though probably not a sailfish bug. can you reproduce with busybox find on other systems?
or give a short script that reproduces?
The build in Backup isn’t cutting it for me as I couldn’t restore them by just moving the newest one from the last device into the folder for my new device. Restore couldn’t find only the one I made to get the folder established on my share.
I also rummaged in the content to see, what I could restore manually and I didn’t find anything for android apps in there, which was quite the disappointment.
yea, i have advice, but it is somewhat idiosyncratic. my advice is to rsync your entire home dir overnight.
for my backup, i start with a full home rsync, which makes backup simple but restoring a nightmare.
i then take individual things i care about, like commhistory and ~/Pictures, etc, and back them up using more nuanced custom scripts, and then add --excludes to my home backup.
this is the repo where i keep my personal backup scripts. they are not likely to work in any given environment and are for my own weird use, but feel free to take a look and see if you can get them to work for you at your own risk https://github.com/teleshoes/sx-config/blob/master/backup-phone
but as far as i know, only macosx peasants have to actually live with such a sadly impoverished shell
BSD troglodytes similary have to endure the stone-age agony of their find program, forever chiseling away at their sanity with tools from the digital Paleolithic.