Planet Planet Feeds nl Ugly! A dirty one liner as a small reminder for myself. Oh well, it did help my client to get those images out of this rotten old CMS quickly. And it wasn't as dirty as what people in #bash suggested. Dirty? Not dirty at all!<br /><b><br /></b><div style="-webkit-text-stroke-width: 0px; color: black; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><b>find ./ -iname "*image_large" -print0 | xargs -0 bash -c 'for image; do mv "$image" "$(dirname "$(dirname "$image")")"/$RANDOM.jpg; done' bash</b></div><img src="" height="1" width="1" alt=""/> Mark Van den Borre Fri, 07 Oct 2016 17:30:00 +0200 First Law of van Ginderachter <p>The first law of Serge van Ginderachter, which would be myself, is</p> <blockquote><p><em>One has more problems with anti-virus software than with the viruses themselves.</em></p></blockquote> <p><a href="/2006/eerste-wet-van-van-ginderachter/">Originally stated in 2006, in Dutch.</a></p> Serge van Ginderachter Wed, 15 Jun 2016 15:04:40 +0200