Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 433 Bytes

012-invalid-characters-in-filenames.md

File metadata and controls

16 lines (12 loc) · 433 Bytes

About filenames

There are some characters that can't be used in filenames:

/ \ ? * : | " < >

To accurately strip all of them use Zaru or parameterize:

Zaru.sanitize! "  what\ver//wird:user:nput:"
# => "what erwirdusernput"
"  what\ver//wird:user:nput:".parameterize
# => "what-er-wird-user-nput"