Skip to content

Instantly share code, notes, and snippets.

@spyesx
Created October 12, 2018 12:50
Show Gist options
  • Save spyesx/cc4e7a1cf79b17dd25d0892ab9b1ca3c to your computer and use it in GitHub Desktop.
Save spyesx/cc4e7a1cf79b17dd25d0892ab9b1ca3c to your computer and use it in GitHub Desktop.
How to find filenames longer than 42 chars
# https://explainshell.com/explain?cmd=find+-E+.+-regex+%27.*%2F%5B%5E%2F%5D%7B43%2C%7D%27
find -E . -regex '.*/[^/]{42,}'
# Common problem faced when you need to copy files to an encrypted volume.
# You could also create a ZIP of your files and save it into the encrypted volume.
# Or, you could just create another volume into this encrypted volume.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment