Wednesday, February 13, 2008
Unix Tip: Stripping file extensions with the basename command
I recently discovered a new trick for using basename to extract filenames from a full pathnames. This can be useful if you want to extract some portion of a file's name and then reuse it. For example, if you want to find the differences between a number of files with .old extensions and the original files. ...continue reading 'Unix Tip: Stripping file extensions with the basename command '
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment