rmapi icon indicating copy to clipboard operation
rmapi copied to clipboard

Remove [d] and [f] from `find` output (closer to unix `find`)

Open guicho271828 opened this issue 3 years ago • 2 comments

Maybe related to #90

this makes it easier to parse rmapi output and build scripts. I am writing a sync command outside rmapi (because it seems easier than learning go myself). related: #148 #134

guicho271828 avatar Jul 06 '21 15:07 guicho271828

but find has the -type arg. having [f]/[d] makes filtering easier and just doing | cut -b5- can remove them

ddvk avatar Jul 06 '21 18:07 ddvk

cut -c5- that is what I am using and replicating the posix behavior is a good thing.

guicho271828 avatar Jul 06 '21 19:07 guicho271828