Jump to content

Czyszczenie pozostałości w systemie


Guest
 Share

Recommended Posts

Ręcznie?

lista plików do zbadania czy należą lub nie należą do jakiegoś/żadnego pakietu, a następnie:

"lista plików" | xargs rpm -qf

Wersje:

1.: w badanym katalogu:

ls -p | grep -v "/" | xargs rpm -qf

cały katalog listowany z dir/ grep odrzuca dir/ reszta leci do rpm -qf przekazana plik po pliku

2.: zwyczajna lista plików

echo "/dir/plik1 /dir/dir2/plik2 dir3/plik3" |  xargs rpm -gf

Może pomoże?

Pozdrawiam

Radek Głębicki

  • Upvote 1
Link to comment
Share on other sites

  • 4 weeks later...
  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...