[K12OSN] PostSession script, rm command and user directories

Meelis Mihhailov meelis at nlib.ee
Fri Dec 15 12:19:13 UTC 2006

> 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
> --------------------------------------------------
> Nils Breunese.

Hi and thanks for the reply. This helped a bit and made the code nicer :) 
Thanks !
It removes all the old stuff except the ones user has made. For example 
saved a webpage/documents in his/her home directory. The ones on the desktop 
are erased ... this is a good thing :) but /home/custom_dir_name problem 
still remains ...

meelis at nlib.ee 

More information about the K12OSN mailing list