Announcement

Collapse
No announcement yet.

Nvidia Proprietary Video Driver -- HOW TO

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    Re: Nvidia Proprietary Video Driver -- HOW TO

    Originally posted by dibl
    I shall adopt your command and edit the guidance accordingly ... and Thank You!
    You are very welcome. I am honored that you found worth my humble contribution.
    Welcome newbies!
    Verify the ISO
    Kubuntu's documentation

    Comment


      #62
      Re: Nvidia Proprietary Video Driver -- HOW TO

      Originally posted by Telengard
      Code:
      find . -type f -name 'nvidia*' -exec zip -mT junk-nvidia-files.zip {} +
      @dibl,

      I put a bit more thought into it, and this will be more robust. It should prevent any potential errors from passing hundreds of very long filenames on a single command line.

      Code:
      sudo sh -c "find -name 'nvidia*' | zip -mT nvidia-junk.zip -@"
      The sudo sh -c "..." syntax invokes sh for a single command line with super user privileges. It has to be done this way because Bash breaks unquoted pipes.

      The -@ tells zip to accept the list of files from standard input instead of command line arguments

      If you don't want zip to print file names then you can quiet it with the -q option.

      Code:
      sudo sh -c "find -name 'nvidia*' | zip -mqT nvidia-junk.zip -@"
      HTH
      Welcome newbies!
      Verify the ISO
      Kubuntu's documentation

      Comment

      Working...
      X