find ./ -type f -ctime +14 | xargs rm
I don't know that much about bash scripting. I would like the output to tell me how many files were deleted. Can anybody share with me how can I get that done, or point in the correct direction?
Thanks, Jeff
find ./ -type f -ctime +14 | xargs rm
I don't know that much about bash scripting. I would like the output to tell me how many files were deleted. Can anybody share with me how can I get that done, or point in the correct direction?
Thanks, Jeff