-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add option to output fsinfo as raw filenames #13
Comments
maybe it is a better idea to add wildcard/glob support to the adding support for a "raw" format to the |
I guess wildcard support for |
The Format is: Example 1 - RAW Format
Example 2 - Extract the filenames
|
Nice work. Personally I'd expect a |
changed :) |
That's actually really cool! Awesome ;-) |
Consuming the fsinfo output with other tools is cumbersome currently. Here's a real life example.
I wanted to remove all *.lc files from the filesystem and I figured I could just iterate over the list of files using a simple bash script. This was a little more involved as:
--silent
(see --silent is not completely silent #12)The script that I ended up with was this:
Here I used
tail
to skip the first line, which is a status message. Then I usedjq
to parse the json output and turn it into a plain list of filenames.I think this should be as easy as:
The text was updated successfully, but these errors were encountered: