Added a `clean-all` command to clean trash of my hard drives
This commit is contained in:
2022-07-26 11:47:00 +02:00
parent c0588adc42
commit d28b21dcdf
3 changed files with 13 additions and 1 deletions

View File

@@ -121,7 +121,7 @@ for MOUNTS in ${!MOUNTS@}; do
SERVER_LOCATION="$MY_SERVER_LOCATION/${MOUNTS[share]}"
MOUNT_LOCATION="$MOUNT_PREFIX/${MOUNTS[mount]}"
mount.cifs "$SERVER_LOCATION" "$MOUNT_LOCATION" -o user=mastermindzh,noperm,rw
mount.cifs "$SERVER_LOCATION" "$MOUNT_LOCATION" -o user=mastermindzh,noperm,rw,vers=2.0
if [ $? -eq 0 ]; then
echo "Succesfully mounted $MOUNT_LOCATION"