Contents
However, we can use use the -prune option to delete files only in the current directory and not in sub-directories. Note the use of * instead of . in the find command. If you just want to get a list of zero byte sized files, remove the -exec and -delete options.
Can I delete zero byte files?
So, users can delete 0-byte files via the Command Prompt or with third-party software such as Wise Force Deleter.
How do I force delete a file in Linux?
Open the terminal application on Linux. The rmdir command removes empty directories only. Hence you need to use the rm command to remove files on Linux. Type the command rm -rf dirname to delete a directory forcefully.