I want to copy a file to another disk, when completed delete it, and create a symlink back to it in the original location.example:copyandlink.sh somefile.iso#!/bin/bashset -ecp $1 /media/storage/linked/ &&rm $1 &&ln -s /media/storage/linked/$1 ./or something like that.
script to copy, delete and symlink
shell script;symlink