From 07c7389c7b367a65e4be2913cf51b31f534c171e Mon Sep 17 00:00:00 2001 From: fabian Date: Sat, 18 Jun 2022 19:00:22 +0200 Subject: [PATCH] easily mount/ unmount external drives --- home_external/.bash_aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home_external/.bash_aliases b/home_external/.bash_aliases index 0d9b4a2..1fa5ccf 100644 --- a/home_external/.bash_aliases +++ b/home_external/.bash_aliases @@ -19,6 +19,8 @@ alias finds='find $* 2>/dev/null' alias c='clear' alias sort_dirs_by_size='du --block-size=1K --human-readable --max-depth=1 | sort --human-numeric-sort --reverse' # 'du -kh --max-depth=1 | sort -hr' alias sd='sudo ' # alias, so sudo can use aliases: "If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion." +alias mountDrive='udisksctl mount -b' +alias unmountDrive='udisksctl unmount -b' # executes command and notifies upon failure