Definitions

from Wiktionary, Creative Commons Attribution/Share-Alike License.

  • noun computing A filename without any path or directory information.

Etymologies

from Wiktionary, Creative Commons Attribution/Share-Alike License

base +‎ name

Support

Help support Wordnik (and make this page ad-free) by adopting the word basename.

Examples

  • The Command-Line Fu site simplifies it down into a single command — just add the following to your bashrc file to create an entirely new command that performs the same steps: function lmv () {[- e $US1 - a - e $US2] & & mv $US1 $US2 & & ln - s $US2/$ (basename $US1) $ (dirname $US1);}

    Move Files Without Breaking Stuff | Lifehacker Australia 2009

  • The basename of this post just nearly caused me to have a heart attack.

    The The The The The The The Cannon | ATTACKERMAN 2009

  • The only gotcha for me was permalink filenames – the MT4 default replaces spaces in titles with dashes so the published archive filename for this entry was “movable-type-4-has-landed.php” despite the basename in the db being “movable_type_4_has…”.

    Movable Type 4 has landed « Ewan's Corner 2007

  • The only gotcha for me was permalink filenames – the MT4 default replaces spaces in titles with dashes so the published archive filename for this entry was “movable-type-4-has-landed.php” despite the basename in the db being “movable_type_4_has…”.

    The Death of Adolf Hitler – Alternate History Search Results 2007

  • You'll be happy to know, however, that your bug report "Entries without titles have dumb basename" is already fixed as well as another that you didn't report where titleless entries don't show up correctly in the 5 Recent Entries list on the main menu.

    Outlining a Blog - Anil Dash 2006

  • Hey Dan, I remember your bug report about titleless entries and basename and it's on the list for the next version if we can get to it no promises, we've got a lot to do.

    Outlining a Blog - Anil Dash 2006

  • And I'm pleased to find out that the new basename feature basically allows anyone to put in almost anything to serve as the entry filename.

    Movable Type 3.2 is out! - Anil Dash 2005

  • GUTINDEX entry, the schedule year is 2004, and the basename of the text is hrdbh.

    The Project Gutenberg FAQ 2002 Jim Tinsley

  • We give them all the same basename -- dyssy -- and each gets a new number, but we keep the original basename, and add a letter to the filename to indicate that they are "versions" of the same original book: dyssy10. txt Butler's Translation dyssy10a. txt Butcher & Lang's Translation dyssy10b. txt Pope's Translation

    The Project Gutenberg FAQ 2002 Jim Tinsley

  • You can get the schedule year and basename of the text from its line in GUTINDEX. ALL.

    The Project Gutenberg FAQ 2002 Jim Tinsley

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.