#Approach 1 find . -name "autoencoder_class_*.*" -exec /bin/rm -i {} \; find . -name "tf_model.h5" -exec /bin/rm -i {} \; #Approach 2 #1. Display the big files in descending order of size find . -type f -exec du -h {} + | sort -rh | head -n 20 #2. Delete the files displayed in step 1, one by one find . -type f -exec du -h {} + | sort -rh | head -n 20 | awk '{print $2}' | xargs -i -p rm '{}'
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter