After create the bash file, I saved with the name “mover_plots.sh”.
And than, I create another bash file to execute the script with Screen.
I used this text in this newfile:
#!/bin/bash
screen -d -m -S mover bash -c 'cd /home/chiadao/ && . ./mover_plots.sh’
You could see this topic: What are you using in Linux to move the plots to another device? - #2 by snorgus