Tag Archives: idd652c4eea51db45293005277ec564867

sanitize_file_name

Sanitizes a filename replacing whitespace with dashesRemoves special characters that are illegal in filenames on certain operating systems and special characters requiring special escaping to manipulate at the command line. Replaces spaces and consecutive dashes with a single dash. Trim period, dash and underscore from beginning and end of filename.

2771

Continue reading