Skip to content

cyrillelamal/rmg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmg -r

ReMove Glob --Recursively.

This scripts acts like rm -rf, but it looks for files in subdirectories.

For example, this is very useful to remove .DS_Store from your Windows PS after you have visited your PC using the OS X remote.

php rmg -g .DS_Store -s ./Music

or using shebang

rmg -g .DS_Store -s ./Music

Parameters

Required

-g --glob - the glob pattern to match.

Optional

-s --start - the directory where to start from (defaults to the current directory).

-v --verbose - if set, print the progress to the stdout.

About

A shell script removing items recursively

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages