[Tutor] Invoking bash from within a python program
Vinay Reddy
vinayvinay at gmail.com
Mon Aug 15 06:00:53 CEST 2005
> The basic idea I was toying around with is to create a delete/uninstall
> program that would take the output of slocate and iterate through that
> deleting all of the files associated with the program I wanted to
> uninstall without having to do so manually. Using tar balled source code
> does not seem to allow for an easy and straight forward way of
> uninstalling once the source directory has been deleted. I am also going
> to explore how to do this using bash and some basic shell programming
> and then work out which would be the better approach.
Why not: slocate <name>|xargs rm -rf
Vinay
More information about the Tutor
mailing list