Migrating All the Photos

$ rclone copy -P backblaze:johannes-photos/ --include "**.{jpe?g,png,heic,mov}" --ignore-case nextcloud:Photos/backblaze
$ find . -type f -exec mv -iv '{}' . ';'
renamed './2015/04/01/IMG_1460.MOV' -> './IMG_1460.MOV'
renamed './2015/04/01/IMG_1462.MOV' -> './IMG_1462.MOV'
renamed './2015/04/01/IMG_1463.MOV' -> './IMG_1463.MOV'

Note the -i flag passed to mv, to prevent any accidental overwrites.

2025/07/16 19:28:46 INFO : 2015/07/09/IMG_5308.MOV: Moved (server-side) to: IMG_5308.MOV

Quote of the Day

Now a recipe is a lot like a computer program. A computer program’s a lot like a recipe: a series of steps to be carried out to get some result that you want. So it’s just as natural to do those same things with computer programs — hand a copy to your friend. Make changes in it because the job it was written to do isn’t exactly what you want. It did a great job for somebody else, but your job is a different job. And after you’ve changed it, that’s likely to be useful for other people. Maybe they have a job to do that’s like the job you do. So they ask, Hey, can I have a copy? Of course, if you’re a nice person, you’re going to give a copy. That’s the way to be a decent person.

— Richard Stallman


2025-07-16