#qi-hardware IRC log for Friday, 2016-07-08

whitequarkthats CSS flexbox I think03:24
whitequarkthere is no JS calculations of height03:24
DocScrutinizer05whitequark: aah, ok. Well I have no idea what's wrong, but I see it fails. Prolly a real bug in Konqueror then?12:07
whitequarkyes12:09
whitequarkflexbox is a farily new feature12:09
DocScrutinizer05aah that explains it12:09
DocScrutinizer05any help with rsync anybody? rsync throws error  >> cannot delete non-empty directory: usr/lib/osso-chess-ui  \n could not make way for new symlink: usr/lib/osso-chess-ui<<  after on source a dir got moved and replaced by a symlink21:24
mthyou have added a flag to delete destination files that no longer exist in the source dir?22:23
mthhelp text lists "--force                 force deletion of directories even if not empty", but I guess that would be suppressing a symptom rather than fixing an underlying problem22:24
DocScrutinizer05mth: the params are rsync -vaRzx --fake-super   -- forgot what they stand for, I read the man page only so often23:08
mthnone of those flags imply deletion of files that don't exist at the source, I think23:12
DocScrutinizer05well, that's actually the idea to keep files23:18
DocScrutinizer05however when a dir gets replaced by moving it elsewhere and creating a symlink to the new path in old position, I think rsync is handling that in a pretty nonsensical way and I don't know how to handle it any better23:19
DocScrutinizer05probably when a root node of a directory tree gets removed and rsync isn't supposed to delete (recursively), all the child elements should get moved to ./lost+found/* or something like that, on destination23:22
DocScrutinizer05maybe I could move on to delete on destination option now, since I got btrfs on destination fs23:23
DocScrutinizer05actually that's implementing a scheme that'closer to the intended 23:24
DocScrutinizer05actually that's implementing a scheme that's way closer to the intended 23:24
DocScrutinizer05the "don't delete on destination" was only half assed effort to keep backups when the source gets corrupted23:25
DocScrutinizer05it wouldn't help at all when files get truncated or crippled23:26
DocScrutinizer05btrfs copy-on-write is exactly what I want23:26
DocScrutinizer05thanks for pointing me into right direction. I'll add the delete option to rsync and wrap the whole script into snapper calls23:28
DocScrutinizer05hmm, maybe rsync has a way to rename destination objects from * to *-$postfix, instead of deleting resp overwriting them?23:32
mthyes, there is --backup, which can be used to create backup files with a suffix or move backup files to a separte dir23:36
mthI never used that, but the man page explains it23:36
DocScrutinizer05hmmm   >> --backup               With  this  option,  preexisting destination files are renamed as each file is transferred or deleted.  <<23:37
DocScrutinizer05aah yep, you already said that23:37
DocScrutinizer05I'll try a -b --del --suffix=BACKUP`date +%Y%m%d`  for now23:46
DocScrutinizer05hmm, still "cannpt delete non-empty dir..."23:50
DocScrutinizer05I guess --delete-before is worth a try then23:50
--- Sat Jul 9 201600:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!