You are not logged in.
Hey arch users,
I recently installed a game (sonicthehedgehog 3d) by extracting a .deb package. I extracted the data.tar.gz file over my / filesystem. This worked and the game works fine.
Here is my question:
Can I delete those files at once with a simple command, something like the reverse of the command I used to extract the data.tar.gz package (tar xvzf data.tar.gz /).
I mean somthing like: #tar xvzf --delete data.tar.gz
It's hard for met to explain this clearly, I hope you get me.
JJK
edit:
I found something that works for deleting the files, but not the folders:
sudo rm $(tar tzf data.tar.gz)
I definitely dont want to do rm -r cause that would probably delete my /usr folder too including all its contents.
Last edited by JJK (2015-03-05 13:12:58)
Offline
If this is a one time problem, i would delete the empty folders manually one by one to avoid any disaster.
PS: you should have created a PKGBUILD instead of extracting manually.
Offline
Thank you, I have indeed created a pkgbuild now.
Offline
Don't .debs include a file list?
Offline