From 718f0c3edc2a950586a6c7bdfb88ad3114e57c8e Mon Sep 17 00:00:00 2001 From: Shivang Vijay Date: Sun, 25 Dec 2022 16:40:43 +0530 Subject: [PATCH] Indication that moving of *.graphml files from downloads to current directory done successfully --- getgraph | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/getgraph b/getgraph index f242708..cc756b6 100755 --- a/getgraph +++ b/getgraph @@ -1,3 +1,11 @@ cp ~/Downloads/*.graphml . -rm ~/Downloads/*.graphml +if [ $? == 0 ] +then + echo "successfully moved *.graphml files in current directory" +fi +rm ~/Downloads/*.graphml +if [ $? == 0 ] +then + echo "successfully deleted from downloads" +fi