Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Delete all files in a folder that don't match a certain file extension

barisx answered on March 23, 2023 Popularity 3/10 Helpfulness 2/10

Contents


More Related Answers

  • delete files with a certain extension recursively
  • remove all files with extension bash
  • rm files with extension
  • ubuntu delete all files with extension
  • how to remove all files except one in linux
  • bash remove all files in directory except a few
  • how to delete all files other than a specific file
  • how to delete all files other than a specific file
  • remove all files with no extention rm
  • linux remove all files same extension in directory
  • python how to delete all files in directory that have a specific extention
  • linux delete all files except extension
  • delete all files with specific name ubuntu
  • terminal command to delete all txt files in directory
  • untar all files in a directory
  • how to remove all files with a certain file type in terminal
  • how can I recursively delete all files of a specific extension in the current directory
  • remove all file same extension
  • linux delete all files except extension
  • delete all files in a directory command
  • remove all files in a directory linux that match pattern
  • linux delete all files except extension
  • linux delete all files except extension
  • linux delete all files except extension
  • linux delete all files except extension
  • how to remove all files with a certain file type in terminal
  • rm deleting all files exept one macos
  • linux delete all files that start with
  • linux delete all files except extension
  • linux delete all files except extension

  • Delete all files in a folder that don't match a certain file extension

    0

    Deletes all files in a folder that are NOT *.foo, *.bar or *.baz files. Edit the pattern inside the brackets as you like. 

    Popularity 3/10 Helpfulness 2/10 Language shell
    Link to this answer
    Share Copy Link
    Contributed on Mar 23 2023
    barisx
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.