Category Archives: cli

Unpack multiple archives recursively in Linux

So you downloaded all the X-Files seasons and every episode is packed in RAR. You can use unrarr to recursively unpack the contents of each archive by following these install steps: gunzip unrarr.gz  sudo cp unrarr /usr/bin/  sudo chmod +x /usr/bin/unrarr …then use the utility like this: unrarr /path/to/folder It can be a real time-saver.For… Read More »

Easy search and archiving of files in Linux

Say you have a folder full of downloads and you don’t need the files you got prior to the day before yesterday. This command will search for and archive all files bigger than 100Kb and older than 48hrs: find /path/to/directory/ -type f -mtime -2 -size +100k | xargs tar -zcvf archive.tgz

Category: cli