Comments (10)
Update:
gufi_find with '-' is working,
used gufi_find -size=-10M
from gufi.
Is there way to pass the size without giving "=" sign
Like, gufi_find -size -10M
from gufi.
This behavior comes from the python argparse library. The =
sign is needed to make sure argparse does not treat arguments starting with -
as flags. If there is a clean way to get around it, please let us know.
from gufi.
Yes after reading the code I came to know that's behaviour from python argparser. Thank you for confirmation.
Sure I'll try to do some work around, If it's done then let you guys know.
Also I tried all options from gufi_find command, but few options like -iname, -inmemory_name, -lname, -newer, -samefile are not working for me (might be missing something).
Could you please provide me one example for each option.
Thank you once again!
from gufi.
-iname "ABC"
should find all names matching [Aa][Bb][Cc]
. c97c22d
-lname "ABC"
should find all links matching ABC
. 6f019f6 9447905
-newer <reference>
where reference is an actual path that can be stat
-ed. a1ed06b
-samefile <reference>
where reference is an actual path that can be stat
-ed. 237244d
--in-memory-name
sets the name of the intermediate table used when aggregating, and generally should not be used
from gufi.
Thanks for information, i tried above options it worked.
One more thing, while running gufi_find with -name option it works for filename with no special characters.
For example,
gufi_find -name "CREDITS+10.txt"
It doesn't show file path
from gufi.
Please pull the latest GUFI. a8d9328 changed -name
to use GLOB
instead of REGEXP
.
from gufi.
Thanks it worked,
with gufi_find | grep <filename>
, some how it didn't show any output.. because at the end of every file path null character is getting added that's why grep is failing.. verified it with gufi_find > find.output
from gufi.
Can you please copy a few lines of xxd find.output
here? I am not seeing any null characters in the output of gufi_find
.
$ gufi_dir2index test search
# update /etc/GUFI/config
$ gufi_find | grep "outfiles.cpp.o"
search/test/unit/googletest/CMakeFiles/unit_tests.dir/outfiles.cpp.o
$ gufi_find | grep "outfiles.cpp.o" | xxd
0000000: 7365 6172 6368 2f74 6573 742f 756e 6974 search/test/unit
0000010: 2f67 6f6f 676c 6574 6573 742f 434d 616b /googletest/CMak
0000020: 6546 696c 6573 2f75 6e69 745f 7465 7374 eFiles/unit_test
0000030: 732e 6469 722f 6f75 7466 696c 6573 2e63 s.dir/outfiles.c
0000040: 7070 2e6f 200a pp.o .
$ gufi_find | xxd | grep "(00\ |\ 00)" # no matches
from gufi.
Thanks for the confirmation!, I'll take a look in code. Might be I messed up something in the code.
from gufi.
Related Issues (20)
- Issues with folders with spaces HOT 3
- How to update the metadata? HOT 6
- Memory usage/leak HOT 23
- Special characters in file/path names HOT 3
- Issue with gufi_ls HOT 4
- FEATURE REQUEST: Add totzero to the vrsummary table HOT 5
- FEATURE REQUEST: gufi_stats -c dirsize-log2-bins HOT 3
- totsubdirs in summary tables HOT 6
- Longitudinal Study: Phase 1 HOT 6
- Longitudinal Study: Phase 2 HOT 6
- query to get Big directories with the help of GUFI db HOT 3
- Installation instructions are unclear
- MakeFiles failed due to ‘in’ undeclared and too many arguments to function ‘INSTALL_STR’ HOT 1
- Cleanup OSX regression test gufi_stat and verifytrace HOT 1
- Is there any way to update existing index directory?
- googletest causes builds to fail
- gufi_find uses DEFAULT_CONFIG_PATH which isn't defined
- Exclude .snapshot[s] directories eg GPFS HOT 1
- gufi does not escape paths with special chars HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gufi.