juruen / rmapi

Go app that allows you to access your reMarkable tablet files through the Cloud API
GNU Affero General Public License v3.0
976 stars 106 forks source link

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

Open guicho271828 opened 3 years ago

guicho271828 commented 3 years ago

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

ddvk commented 3 years ago

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

guicho271828 commented 3 years ago

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