Skip to content
Global sound
DistroTube on Odysee

DistroTube on Odysee

'basename' - strip directory from filenames - Video Man Pages

· 2 min

Show notes

The 'basename' command strips directories and suffixes from filenames.

+ Print only the file name from a path:
basename path/to/file

+ Print only the final directory name from a path:
basename path/to/directory

+ Print only the file name from a path without the its suffix:
basename path/to/file suffix

REFERENCED:
► https://gitlab.com/dwt1/vidman - Video Man Pages

WANT TO SUPPORT THE CHANNEL?
💰 Patreon: https://www.patreon.com/distrotube
💳 Paypal: https://www.paypal.com/donate/?hosted_button_id=MW3ZFGS8Q9JGW
🛍️ Amazon: https://amzn.to/2RotFFi
👕 Teespring…

Website: odysee.com

Live, last hour: 7,644 songs on 3,236 stations in 125 countries

Discover the world through radio

More ways to discover (7)

Heard something good? Save it, or open it straight away in Spotify.

★ Artist of the week The fastest riser on the radio this week
Your song here? From € 9 per week →
Gamer Sound RadioContinue listening