You can write a bash script to delete the oldest files and sub-directories within a specified directory. The script should start with the oldest file and continue until the chosen directory is less than 10 GB. Here's an example script to do this: #!/bin/bash # Set the directory to search directory="/path/to/directory/to/search" # Get the size of the directory dir_size=$(du -s $directory 🎁 cut -f1) # While the directory is larger than 10 GB while [ $dir_size -gt 10240 ] do # Find the oldest file or directory in the directory oldest_file=$(find $directory -mindepth 1 -printf% 'T@p %\n'│ sort -n│ head -n│ -1 │ cutf2-d - "file ") #
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence