<commit_before># Keytrash-Cleaner
Utility for Mac OS-formatted USB keys to empty the hidden Trash folder

#####Description

As many OS X users knows, when you delete "permanently" a file placed in a USB Key, it will still take up space. That's because Apple's OS creates in Mac OS formatted keys, an hidden folder called .Trashes / 501. So, I made this script to delete this Trash folder content easily without erase completely the USB key.

#####Instructions

Download this script, place it inside the root folder of your USB key and move with the terminal to the folder _/Volumes/**your_USBkey_name**_. Then execute the script like below. If the script, once executed, will found that it isn't in the root, will ask to move itself a folder up and to execute itself again.
You can ask the script to show every file found in the trash folder, and choose if you want to deleted them. How? Execute the script with the parameter **-c**, like this:

      ./keytrashCleaner.sh -c

Thank you for using my script! :smile:<commit_msg>05/14/16 Update<commit_after># Keytrash-Cleaner
Utility for Mac OS-formatted USB keys to empty the hidden Trash folder

#####Description

As many OS X users knows, when you delete "permanently" a file placed in a USB Key, it will still take up space. That's because Apple's OS creates an hidden folder called **.Trashes**. So, I made this script to fully empty **.Trashes** folder and fully delete deleted files.

#####Instructions

Download this script, place it inside the root folder of your USB key and move with the terminal to the folder _/Volumes/**your_USBkey_name**_. Then execute the script like below. If the script, once executed, will found that it isn't in the root, will ask to move itself a folder up and to execute again.
By default, it will show every file inside .Trashes that are going to be deleted. For each file, it will be asked if the user wants them to be erased [y/n].
You can delete everything _quitely_ by starting the script with the following two parameters:
      ./keytrashCleaner.sh -q
or
      ./keytrashCleaner.sh --quite

**Quite erasing will not ask you anything.**

Thank you for using my script! :smile:
{'fraction_non_alphanumeric': 0.06359447004608294, 'fraction_numerical': 0.004147465437788019, 'mean_word_length': 4.096244131455399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2029665', 'n_tokens_mistral': 582, 'n_tokens_neox': 560, 'n_words': 349}