Actualización
This commit is contained in:
parent
fa1c9436ac
commit
dbd407405a
18
aliases.sh
18
aliases.sh
|
@ -80,7 +80,7 @@ alias stylua="stylua --config-path $HOME/.config/stylua/config.toml"
|
||||||
|
|
||||||
alias buscar="grep -REin --color=always --exclude-dir={.git,.venv,.pytest_cache,__pycache__,\*egg-info}"
|
alias buscar="grep -REin --color=always --exclude-dir={.git,.venv,.pytest_cache,__pycache__,\*egg-info}"
|
||||||
alias search="buscar"
|
alias search="buscar"
|
||||||
alias rastrear='fd'
|
alias rastrear='find . -iname'
|
||||||
alias trace='rastrear'
|
alias trace='rastrear'
|
||||||
alias rastrear-todo='find / -iname'
|
alias rastrear-todo='find / -iname'
|
||||||
alias trace-all='rastrear-todo'
|
alias trace-all='rastrear-todo'
|
||||||
|
@ -387,6 +387,22 @@ bak () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
### Descarga información de sitios web
|
||||||
|
|
||||||
|
dump () {
|
||||||
|
dump_domain=${@: -1}
|
||||||
|
if [ "$1" = "mirror" ] || [ "$1" = "--mirror" ]; then
|
||||||
|
wget --no-clobber --timestamping --continue --page-requisites --html-extension --convert-links \
|
||||||
|
--mirror $dump_domain
|
||||||
|
else
|
||||||
|
wget --no-clobber --timestamping --continue --page-requisites --html-extension --convert-links \
|
||||||
|
--recursive --follow-tags=a --domains=$dump_domain \
|
||||||
|
--reject '*.js,*.css,*.ico,*.txt,*.gif,*.jpg,*.jpeg,*.png,*.mp3,*.pdf,*.tgz,*.flv,*.avi,*.mpeg,*.iso' \
|
||||||
|
$dump_domain
|
||||||
|
fi
|
||||||
|
unset dump_domain
|
||||||
|
}
|
||||||
|
|
||||||
### Entra a descargas
|
### Entra a descargas
|
||||||
|
|
||||||
cdd () {
|
cdd () {
|
||||||
|
|
Loading…
Reference in New Issue