Linux bash script to find and delete oldest file with special characters and whitespaces in a directory tree if condtion is met
问题 I need some help building a linux bash script to find and delete oldest file with special characters and white spaces in a directory tree if condtion is met. I have been searching the forum for questions like this and thanks to users here I came with output as seen under. So far I can't figure out how to pipe the output filename to rm, so that it is being deleted. The goal is to check if hdd is running full, and if so delete the oldest file until free-space requirement is met. The problem is,