repace spaces with under score

This commit is contained in:
Shihaam Abdul Rahman 2023-03-22 15:09:25 +05:00
parent dd08223fca
commit 23dfbf1592
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

2
bashrc
View File

@ -43,6 +43,8 @@ edit(){ nano $(grep $1 * -R | awk '{print $1}'|cut -f1 -d ':' | head -n1);}
#root(){ su -c "$@";} #root(){ su -c "$@";}
# view md file on cli # view md file on cli
catmd() { pandoc $1 | lynx -stdin;} catmd() { pandoc $1 | lynx -stdin;}
# replace white spaces in file name with underscores
rmspace() { for file in *; do mv -- "$file" "${file// /_}"; done;}
############################################################################### ###############################################################################
### Enter container ### Enter container