Skip to content

Instantly share code, notes, and snippets.

@BKeanu1989
Last active April 22, 2018 09:50
Show Gist options
  • Save BKeanu1989/9aab3bc2eefbd6cdd180b220d6540025 to your computer and use it in GitHub Desktop.
Save BKeanu1989/9aab3bc2eefbd6cdd180b220d6540025 to your computer and use it in GitHub Desktop.
pm2 start ecosystem.config.js --env production_mongodb
scp /path/to/file username@a:/path/to/destination
tar -czvf foo-bar.tar.gz `find foo-bar*`
find ./order-export-* -maxdepth 0 -type f -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment