I have a script where it mounts a veracrypt container for me, RSYNC files in this container and then dismount it.
The problem is that everytime I run it, when it mounts the container, it opens the Nautilus/Files Window and I do not want to trigger any Window in this proccess, I want it to be text only in CLI.
Here is a test script as example:
# Dismount all existing containers
veracrypt -d
# Mount container
veracrypt -t --mount ~/Downloads/vault /media/veracrypt -p test --non-interactive
# Sync files
rsync -varz --delete ~/Downloads/test.txt /media/veracrypt/
# Dismount
veracrypt -d
Even putting -t
and --non-interactive
it stills open the Files window. Does anyone have a clue how to avoid that?
Thanks!