Skip to content

Instantly share code, notes, and snippets.

@shahidhk
Created November 29, 2015 04:24
Show Gist options
  • Select an option

  • Save shahidhk/ea054ae0f25e80ce93c0 to your computer and use it in GitHub Desktop.

Select an option

Save shahidhk/ea054ae0f25e80ce93c0 to your computer and use it in GitHub Desktop.
Delete all files having zero size and six character filenames. Used to fix issue on saarang server
find . -maxdepth 1 -name '??????' -size 0 -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment