Skip to content

cadot-info/FileBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FileService

Functions for manipulate files

  • extension (name of file) extract extension of filename
  • copydir(source, destination) copy a directory recursively
  • deletedir(directory) remove directory recursively
  • movedir (directory) move directory with recursivity
  • sanitize (filename, remove space?) clean a filename
  • beautify (filename) for remove space in string

This code is collect in internet of many times and many web site.