Translation - Μετάφραση

Resources, Technical Assistance and Technology News => Tips on Using Computers => Translator resources => Linux tips => Topic started by: spiros on 11 May, 2018, 10:56:29

Title: Argument list too long (when trying to delete files in Linux)
Post by: spiros on 11 May, 2018, 10:56:29
Argument list too long (when trying to delete files in Linux)

You may have used something like this to delete all files in "myfolder":
Code: [Select]
rm -rf /home/path/public_html/myfolder/*
This will work for deletion of multiple files without throwing an error:
Code: [Select]
find /home/path/public_html/myfolder -type f -delete