Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Unbackslash

Instead of creating the expected directory structure, unzip(1) baked the entire path into the file names. I think this was because the source contained backslash and forward-slash separated paths. So I wrote this script to find files with backslashes in their names, replace them for slashes and create the missing dir tree.

I only used this once so use with extreme caution, at your own risk, and make a backup first.

License

WTFPL with one additional clause:

  1. Don't blame me.

About

Rename files that have backslashes in their name, caused by `unzip`ping a dodgy archive.

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages