Adición de 'bak'
This commit is contained in:
parent
2bb94bcb6e
commit
86575cd9c0
12
aliases.sh
12
aliases.sh
|
@ -284,6 +284,18 @@ recargar () {
|
|||
fi
|
||||
}
|
||||
|
||||
### Respalda discos
|
||||
|
||||
bak () {
|
||||
echo -n "¿Respaldar $1 en $2? [y/N] "
|
||||
read REPLY
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
sudo dd if=$1 of=$2 bs=64K conv=noerror,sync status=progress
|
||||
else
|
||||
echo "No se realizó respaldo"
|
||||
fi
|
||||
}
|
||||
|
||||
### Entra a descargas
|
||||
|
||||
cdd () {
|
||||
|
|
Loading…
Reference in New Issue