Skip to content

Instantly share code, notes, and snippets.

@doniz
Last active July 20, 2018 19:01
Show Gist options
  • Save doniz/5e360fa84744015b56bc2b63d41492fc to your computer and use it in GitHub Desktop.
Save doniz/5e360fa84744015b56bc2b63d41492fc to your computer and use it in GitHub Desktop.
get all files recursively from directory with bash
#!/usr/bin/env bash
FILES=$(find "/etc/nginx" -type f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment