Last active
October 18, 2019 06:12
-
-
Save wheelq/483dfc20fa6640ff3070c8c815b716e4 to your computer and use it in GitHub Desktop.
alias for finding files
This file contains 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
#old alias ffile='function _myfind(){ if [ -z $1 ]; then echo "arg1-location, arg2-filename";else find $1 -type f -iname "*$2*" 2>/dev/null;unset -f __ffile;fi };_my find' | |
alias ffile='function __ffile(){ if [ -z $1 ]; then echo "arg1-location, arg2-filename";else find $1 -type f -iname "*$2*" 2>/dev/null;unset -f __ffile;fi }; __ffile' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment