Skip to content

andrei-k/delete-files-by-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delete files containing some string in the filename

Go Report Card

Find and delete files that contain a specified string

Usage

  1. Run in Terminal
go run .
  1. Enter a path to the folder you want to search and delete files in.
    As a shortcut, you can drag a drop the folder from Finder into Terminal.

  2. Enter a string. Filenames that contain that string will be deleted.

  3. Choose to permanently delete files by pressing "y". (Deleted filenames will be logged in a text file.) Pressing "n" will move files to a new folder.

About

Find and delete files that contain a specified string

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages