Skip to content

Typically need to process bunch of files with versatility of how to get list of files to process? This simple library to avoid copy-pasting of your own code here and there.

Notifications You must be signed in to change notification settings

DL4XRayTomoImaging-KIT/FileListExpander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File List Expander

Typically need to process bunch of files with versatility of how to get list of files to process? This is a simple library to avoid copy-pasting of your own code here and there.

gets as input:

  • python list of strings
  • text file with file list and comments
  • directory address
  • wildcarded string
  • one file address

allows to:

  • detect and remove directories
  • exclude non-existing files
  • various regexp filterings: (includes, matches, not-includes, not-matches)
  • verbose process of matching

Why to use it if I have sed/grep/ls and all those fancy GNU tools?

It's easier to incorporate those simple funcs into your own interface, than asking users to understand how to work with fancy tools.

How to use it?

See demo.

U r doin' it wrong, hold my beer!

I will appreciate comments/points where to get similar result but better.

About

Typically need to process bunch of files with versatility of how to get list of files to process? This simple library to avoid copy-pasting of your own code here and there.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published