Created
June 8, 2016 15:09
-
-
Save iantanwx/633027cbfa9106c2767e03bf0c8fa50b to your computer and use it in GitHub Desktop.
Shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Get count | |
ps aux | grep [h]ttpd -c | |
# Rename files | |
find mig33/inner.folder -name *.txt -exec bash -c 'echo "$0" "${0%.txt}.data"' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment