Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.81 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.81 KB

angryfiles

angryfiles attempts to create a filesystem hierarchy which is as diverse as possible.

Inspired by https://github.com/petrosagg/wtfiles

usage: angryfiles [-h] [--long-tests] dest_dir

positional arguments:
  dest_dir      Directory to make files under. Must not exist.

optional arguments:
  -h, --help    show this help message and exit
  --long-tests  Run tests that may take hours to complete and even longer to delete.

Example


$ ls test
ls: cannot access 'test': No such file or directory

$ ./angryfiles ./test

$ ls -al ./test
total 1324
drwxr-xr-x  13 user user    4096 Mar 21 03:46 .
drwxr-xr-x   3 user user    4096 Mar 21 03:46 ..
drwxr-xr-x   2 user user    4096 Mar 21 03:46 all_1_byte_broken_symlink_names
drwxr-xr-x 255 user user    4096 Mar 21 03:46 all_1_byte_dir_names
drwxr-xr-x   2 user user    4096 Mar 21 03:46 all_1_byte_file_names
drwxr-xr-x   2 user user    4096 Mar 21 03:46 all_1_byte_self_symlink_names
drwxr-xr-x   2 user user    4096 Mar 21 03:46 all_1_byte_symlink_names
drwxr-xr-x   2 user user   49152 Mar 21 03:46 all_length_broken_symlink_names
drwxr-xr-x 257 user user   49152 Mar 21 03:46 all_length_dir_names
drwxr-xr-x   2 user user   49152 Mar 21 03:46 all_length_file_names
drwxr-xr-x   2 user user   49152 Mar 21 03:46 all_length_self_symlink_names
drwxr-xr-x   2 user user   49152 Mar 21 03:46 all_length_symlink_names

Related Software

https://github.com/petrosagg/wtfiles

https://github.com/omaciel/fauxfactory

https://github.com/minimaxir/big-list-of-naughty-strings

https://github.com/NieDzejkob/cursedfs

More filesystem encoding info:

https://news.ycombinator.com/item?id=16991263

https://www.linux.com/news/cli-magic-convert-file-names-different-encoding-convmv