empty a file bash code example
Example: delete empty files bash
# This will delete all empty files in directory /tmp
find /tmp -size 0 -print -delete
# This will delete all empty files in directory /tmp
find /tmp -size 0 -print -delete