On Thu, Apr 17, 2014 at 6:27 AM, Matthieu Weber <[email protected]> wrote: > pass mv is not about managing files, it is about changing the > meta-information of the password, namely its identifier. The fact that > it boils down to renaming a file is just a technicality. You can ditch > the "pass mv" shortcut if you want and provide only "pass rename" and > then it's not anymore about moving files, but about managing passwords. > That's exactly what pass is for. Maybe we can rename "pass mv" into > "pass rn" so that it doesn't sound like the shell's mv command?
I think this is a reasonable argument. But I'm probably not the only user of pass that doesn't put all information into the filesystem except for the password itself. I even use it to store sensitive information that isn't passwords. I think we could avoid some of the file manager difficulties by letting pass tell us something about its configuration. For example, if pass will tell us the prefix, we can easily stuff that into calls to the standard file tools: # change `pass show foo/bar/baz` to `pass show foo/moo/goo` /bin/mv -v $(pass --printconfig prefix)/foo/bar/baz $(pass --printconfig prefix)/foo/moo/goo # find my ssh passwords even if they're scattered around the tree /usr/bin/find $(pass --printconfig prefix) -name \*ssh\* # make a backup /usr/bin/tar zcf pass.backup.$(date +Y%m%dT%H%M%S).tar.gz $(pass --printconfig prefix) I don't currently use any of the environment variable settings to tweak the pass configuration, but I know others do. They might find it very useful to be able to just tell pass to dump all of its configuration parameters at once: pass --printconfig Thoughts? -- Brian Shore Senior Systems Engineer, Security Architect Network Redux, LLC 5200 SW Macadam Ave Ste 450 Portland, Oregon 97239 Desk: 503-274-9905 x503 _______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
