[opensuse] Sort directory by date for incremental update
Regular readers will recall that I back up to CD and DVD. Having partitions smaller than 5G makes backing up to CD straight forward. Actually many of the 5G partitions are nowhere near full and two or three of them can go to one DVD. All just drag and drop with K3B. Dontcha just love it! How manual! How unautomated! Now along come my Music partition. Unlike ~/Photography where I can do each year on a partition (and some only need a CD), ~/Music is all-in-one. Yes I could do ~/Music/A-E, ~/Music/F-M, ~/Music/M-S, ~/Music/T-Z but for various reasons I chose not to. It would end up uneven and somewhere in the future I'd need to split one of those and it would get more uneven. So now I'm past the 5G point. I have the backups to that point on one DVD. I just need to backup what I've added since; incremental-ism :-) I'm well aware that I can run find with the "--newer" argument and that is fine for backing up using CPIO (or possibly even rsync) but other than running it and saving the output and then manually step by step though that dragging those directories manually into the K3B workspace, I'm not sure. For some reason there doesn't seem to be a man page for k3b, only the online/embedded KDE help system for it. It would help to know if that file containing the list could be used as a command line argument for a CLI invocation of K3B. The man pages I find on the web imply that is the case. However when I run 'find', as in find /home/anton/Music -maxdepth 1 -type d \ -newer /home/anton/Music/Eagles/Eagles/ \ -print and use the output on the command line invoking k3b I get a long list of popup messages saying it can't open that file. WTF?!? Well sure, some directory names have spaces in them ... But not all. And I get the same if I use "-printf" to make sure the arguments are quoted. And yes, I've used "echo" of the command line generated to make sure it is what I expect it to be. And yes I've tried it generating the list of files rather the directories. Same result. So it seems that k3b can't be invoked with an argument list and an't be 'automated'. Does anyone have some advice or guidance here? -- It's not a good idea to beleive anything about security when read in the mass media. by the time it gets there it is ususally sensationalized to the point where it's more about hype and marketing than anything else. -- Ryan Permeh [talis@MILLCOMM.COM] on Vuln-Dev -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Anton Aylward