Porthos
Well-Known Member
- Reaction score
- 13,682
- Location
- San Antonio Tx
Not really a image joke however one of my clients showed me this (He seriously thought this program was for real) I almost died laughing http://mattmahoney.net/dc/barf.html the program is infinite compression the joke and really this thing is priceless it removes one byte from the file size but adds it to the filename so technically the file takes no space but the header suffers greatly. Worst part this was on April 1st that he showed me this and wasn't a April fools joke my client was serious which got me thinking could this bypass email restrictions on file sizes? but anyways just a bit of tidbits to share this laughter. No need to run it you can take a look at the
source code or just read the page description, it's one hell of a prank.
Shawn W. Dion
aka GreyWolf
Usage: FART [options] [--] [,...] [find_string] [replace_string]
Options:
-h --help Show this help message (ignores other options)
-q --quiet Suppress output to stdio / stderr
-V --verbose Show more information
-r --recursive Process sub-folders recursively
-c --count Only show filenames, match counts and totals
-i --ignore-case Case insensitive text comparison
-v --invert Print lines NOT containing the find string
-n --line-number Print line number before each line (1-based)
-w --word Match whole word (uses C syntax, like grep)
-f --filename Find (and replace) filename instead of contents
-B --binary Also search (and replace) in binary files (CAUTION)
-C --c-style Allow C-style extended characters (xFFtnr\ etc.)
--cvs Skip cvs dirs; execute "cvs edit" before changing files
-a --adapt Adapt the case of replace_string to found string
-b --backup Make a backup of each changed file
I hadn't heard of BARFThere's actually a real program called FART (Find And Replace Text), which I've used myself on a number of occasions. Works quite well too. It even has a 'quiet' mode (but unfortunately no silent or deadly modes).
https://www.majorgeeks.com/files/details/fart.html