Quantcast
Viewing all articles
Browse latest Browse all 21

Linux: Bash Delete All Files In Directory Except Few

By Nix Craft

I‘m a new Linux system user. I need to cleanup in a download directory i.e. delete all files from ~/Downloads/ folders except the following types: *.iso – All iso images files. *.zip – All zip files.
How do I delete all file except some in bash shell on a Linux, OS X or Unix-like systems?

Read answer to: “Linux: Bash Delete All Files In Directory Except Few

Image may be NSFW.
Clik here to view.
Share on Facebook

Leggi Tutto…

Source: Nixcraft Basic

Image may be NSFW.
Clik here to view.
  Image may be NSFW.
Clik here to view.
  Image may be NSFW.
Clik here to view.

The post Linux: Bash Delete All Files In Directory Except Few appeared first on Linux Fai Da Te | Linux News | Linux Online Magazine.


Viewing all articles
Browse latest Browse all 21

Trending Articles