See FilePath.add_extension
FilePath.add_extension
Add an extension with a "." before.
See FilePath.basename
FilePath.basename
Extract only the file name of a filename.
Cut in two a string, separator not included
Convert size to bytes.
See FilePath.check_extension
FilePath.check_extension
Check the extension.
Change permissions of files.
See FilePath.chop_extension
FilePath.chop_extension
Remove extension and the trailing ".".
cmp skip1 fln1 skip2 fln2 Compare files fln1 and fln2 starting at pos skip1 skip2 and returning the first octect where a difference occurs.
cmp skip1 fln1 skip2 fln2
fln1
fln2
skip1
skip2
See FilePath.compare
FilePath.compare
compare fl1 fl2 Give an order between the two filename.
compare fl1 fl2
See FilePath.concat
FilePath.concat
Append a filename to a filename.
Copy the hierarchy of files/directory to another destination.
See FilePath.current_dir
FilePath.current_dir
Current dir.
See FilePath.dirname
FilePath.dirname
Extract the directory name of a filename.
du fln_lst Return the amount of space of all the file which are subdir of fln_lst.
du fln_lst
Create an extension from a string.
Create a string from a filename.
Apply a filtering pattern to a filename.
See FileUtil.find
FileUtil.find
find ~follow:fol tst fln exec accu Descend the directory tree starting from the given filename and using the test provided.
find ~follow:fol tst fln exec accu
See FilePath.get_extension
FilePath.get_extension
Extracts the extension.
See FilePath.identity
FilePath.identity
Identity for testing the stability of implode/explode.
Return the POSIX integer permission
See FilePath.is_current
FilePath.is_current
Check if the filename is the current directory.
See FilePath.is_parent
FilePath.is_parent
Check if the filename is the parent directory.
See FilePath.is_relative
FilePath.is_relative
Check if the filename is relative to a dir or not.
See FilePath.is_subdir
FilePath.is_subdir
is_subdir child parent Is child really a sub directory of parent
is_subdir child parent
child
parent
See FilePath.is_updir
FilePath.is_updir
is_updir parent child Is parent really a parent directory of child
is_updir parent child
See FilePath.is_valid
FilePath.is_valid
Test if the filename is a valid one.
List the content of a directory.
See FilePath.make_absolute
FilePath.make_absolute
Create an absolute filename from a filename relative and an absolute base filename.
See FilePath.make_filename
FilePath.make_filename
Make a filename from a set of strings.
See FilePath.make_relative
FilePath.make_relative
Create a filename which is relative to the base filename.
Compile FileUtil.Match expression using Str.regexp
FileUtil.Match
Str.regexp
Create the directory which name is provided.
Move files/directories to another destination.
See FilePath.parent_dir
FilePath.parent_dir
Upper dir.
See FilePath.path_of_string
FilePath.path_of_string
Extract filenames from a PATH-like string.
Translate POSIX integer permission.
Return the current dir.
Resolve to the real filename removing symlink.
See FilePath.reduce
FilePath.reduce
Return the shortest filename which is equal to the filename given.
See FilePath.reparent
FilePath.reparent
reparent fln_src fln_dst fln Return the same filename as fln but the root is no more fln_src but fln_dst.
reparent fln_src fln_dst fln
fln
fln_src
fln_dst
See FilePath.replace_extension
FilePath.replace_extension
Replace extension.
Remove the filename provided.
Add two sizes.
Compare two sizes, using the classical compare function.
Split a string, separator not included
stat fln Return information about the file (like Unix.stat) Non POSIX command.
stat fln
Return string representation of an extension.
Create a filename from a string.
See FilePath.string_of_path
FilePath.string_of_path
Create a PATH-like string.
Convert a value to a string representation.
See FileUtil.test
FileUtil.test
Test a file.
Modify the timestamp of the given filename.
Get or set the file mode creation mask.
Apply umask to a given file permission.
Try to find the executable in the PATH.