June 26, 2007

I have become the tools of my tools

Here is a Linux command I never knew existing. basename returns a file/folder name without any of the leading directory information. If specified it even removes any trailing extensions. I have written entire bash subroutines to do exactly this; without the consistency of basename.

posted by Bobby Rockers • • No Comments

Leave a Reply

You must be logged in to post a comment.