- Notifications
You must be signed in to change notification settings - Fork0
glombardo-se/find_path
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
It looks for items into the target location whose pathname matches thegiven pattern. The namefind_path
has been chosen keeping account ofthe comprise between having a meaningful name and typing laziness.
Looking for files is easy, really less when you have a lot of them (aswe all usually do). Personally I've not very clear all assumptions andconfiguration the modern operating systems and their shipped utilitiesapply during search. So, to be in control, here are some reason:
- Flexibility: I can search for pattern in paths maybe using regex.
- Filtering: Metadata filtering, creation, access, edit, file size,ecc.
- Control: Knowing exactly what is happening controlling verbosity.
- Multiprocessing: You can feel a bit like the gladiator when:Atmy signal, unleash hell!
- BS 1: I wanted to revamp and improve a more than five year oldsearch software.
- BS 2: I could do it, so I did it.
The following is a list (not necessarily exhaustive) of settings thesoftware application implements as defaults behaviours:
- By default it uses
1
single process in a sequential fashion [ thisbecause in most of the cases1
process performs significantly betterthan more than one does].
You knows:good fences make good neighbours!
Here you can learn about the features thefind_path
applicationexposes to the users, how and when should they be used.
(c) 2019 Giovanni Lombardo mailto://g.lombardo@protonmail.comfind_path version 1.0.0usage: find_path.exe [-h] [-bf [BEFORE]] [-af [AFTER]] [-ac] [-ae] [-aa] [-p [PROC]] [-v] location patternIt looks for files into the target location whose names matches the given pattern.defaults behaviours: - Single process.positional arguments: location The location to look for matching items. pattern The pattern to look for into items content.optional arguments: -h, --help show this help message and exit -bf [BEFORE], --before [BEFORE] The 'before' reference date in the format %Y-%m-%d %H:%M -af [AFTER], --after [AFTER] The 'after' reference date in the format %Y-%m-%d %H:%M -ac, --created When given it evaluates the created attribute of selected files. -ae, --edited When given it evaluates edit attribute of selected files. -aa, --accessed When given it evaluates last access attribute of selected files. -p [PROC], --processes [PROC] The number of processes to start for the task. -v, --verbose Logs verbose output (really slow). Elapsed time 'find_path': 0.000997 seconds.
Contributions are always welcomed. Here a reasonably short list ofthings you can contribute with:
You find a misbehaviour (aka bug): please report the issue so that itcan be fixed and all can benefits of the fix.
The software has been tested only on the OS versions mentioned below:if you use the software on other platforms and it works, please reportthe fact so that the documentation can be updated.
You would like the application to be able to do something it does not:please request the features, it may be even quick and easy to implement.
You can write tutorial on specific or uninteded usages of the software.
You can enrich the documentation with real usage examples and use cases.
- MD5 |8ecb2ab5f7f845dbce415163b53e129a|
- SHA256|5b643c8f4d2adae05ba5d874f201aee792c71cb1f85a756daa3bb26d0e426fa4|
- VirusTotal|VirusTotal|
- MD5 |41b8eadb8c065362e69fc90155912c30|
- SHA256 |fa373edd044c81d52440b4f95c666ab06215bd23f4db7f0fa0c9cc027c9f94e5|
- VirusTotal |VirusTotal|