[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] PostSession script, rm command and user directories



I wrote:

You could clean this up a little further, because it's not really necessary to copy the tar file, extract it and then remove it.

--------------------------------------------------
rm -rf /home/terminal1/*
cd /home
tar -xf /usr/BACKUP/terminal1.tar
--------------------------------------------------

I'm sorry, that should read:

--------------------------------------------------
rm -rf /home/terminal1
cd /home
tar -xf /usr/BACKUP/terminal1.tar
--------------------------------------------------

Nils Breunese.


Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]