Hello
I try restore multiple account using command
first step
ls *.tar.gz /home > cat.txt;
++++++++++++++++
cat.txt file have lines
user1.tar.gz
user2.tar.gz ( account exist )
user3.tar.gz
+++++++++++++++++
second
for i in `cat cat.txt`; do /scripts/restorepkg $i; done;
the problem is when account exist and command is terminated
how to force to bypass an existing account and force command to continue next account from cat.txt
Regards
I try restore multiple account using command
first step
ls *.tar.gz /home > cat.txt;
++++++++++++++++
cat.txt file have lines
user1.tar.gz
user2.tar.gz ( account exist )
user3.tar.gz
+++++++++++++++++
second
for i in `cat cat.txt`; do /scripts/restorepkg $i; done;
the problem is when account exist and command is terminated
how to force to bypass an existing account and force command to continue next account from cat.txt
Regards
Last edited by a moderator: