/bigarchive

Create archive of a big directory

Primary LanguageShell

bigarchive

TLDR: Create 1 million files with random content and archive them

Steps/scripts provided:

  • create 1 million files with random content (create.sh)

  • create a file list (find.sh) - to fn.txt

  • split file list (split.pl) - part.1 ... (5000 rows each)

  • create the archives (arch.sh) - into folder archive

  • extract the archives (extract.sh) - from folder archive

  • (optional) delete the files (delete.sh)