1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/bin/mount-phone
2023-04-16 22:58:56 +02:00

24 lines
271 B
Bash
Executable file

#!/bin/bash
# Variable
dest=/mnt/ahurac/phone
# Commands building
# Create destination
create_destination=(
mkdir
-p
"$dest"
)
# Mount phone
mount_phone=(
aft-mtp-mount
"$dest"
)
# Execution
set -xe
"${create_destination[@]}"
"${mount_phone[@]}"