Please who can do me this small script in linux

Hello There
Now im moving a 35GB file tar.gz in my server to other server and it's a cpmove file i moving it by SCP can anyone make a script that when scp transfer finish and the file reach new server with full size (35GB) make a restore command (/scripts/restorepkg) automatic ?

it's urgent please ..
regards
5need

 

 

 

 

Top