Delete zero byte file in unix6/20/2023 This may happen when a file is incompletely downloaded via the Web or an FTP (file transfer protocol) client, or when an email attachment is not transmitted correctly. Zero-byte files can occur when file transfers do not complete successfully. The -delete action is not available on all find command implementations. The -type f option makes sure that we are working on a regular file and not on directories or other special files. To delete all zero byte files in the current directory and sub-directories, use the following find command syntax. How do I delete a zero byte file in Linux? What is the fastest way to delete a file in Linux?.
0 Comments
Leave a Reply. |