Hello, i need a shell script which will verify if a item from one list is found on a path or search for archives with .tgz,.[url removed, login to view],.rar,.7z,.[url removed, login to view]
Then, script would append to this file a random bytes copyed by himself on random places in himself, but the size of bytes to be copied or appended have to be 5% of
total size file.
What i'm wanting to do, just corrupt this files, simulate a high corruption of data, irrecoverable.