MellonScholarlyCommunication / css-suite

css-functionality
2 stars 0 forks source link

solid-find functionality #9

Open Dexagod opened 2 years ago

Dexagod commented 2 years ago

Replicate the Find command for Solid

solid-find [options] resourceName

[options] -d, --directory - starting directory for the search (defaults to current directory for interactive shell / root directory for standalone command), -r, --recursive - search recursively, -f, --full - search on full file URI (e.g. http://my.pod.org/myName/container1/container2/test.ttl) -F, --full-return - return full file URI of found matches.

phochste commented 2 years ago

At least a -mtime option or something to only return resources modified after some date

Dexagod commented 2 years ago

Find functionality has been added throught the find command.

-mtime option currently not in works, this would require additional checks for things like acl files resulting in slower performance. Might be interesting for later though.