A convenient extension to library system
Call G (cut solutions) and show warning messages if something went wrong (failure and exceptions).
Call G and ignore if something went wrong (failure and exceptions).
D is an empty directory
Move File to directory Dir
Like copy_files/3, but do not fail in case of errors.
Save a backup copy of file FileName
If To does not exists of its contents are different than From, delete To and rename From to To. NewOrOld is unified with new or old depending on whether the new or the old file are preserved.
Set user/group of a file. Do nothing if Owner is free.
Set file permissions.
Set file permissions, but treat regular files as directories w.r.t. 'X' flag
Creates the directories necessary to access the given Path (which can be absolute or relative).
Equivalent to mkpath_mode(Path,0o777,_).
Remove the temporary directory Path (recursively) created with mktempdir_in_tmp/2. As a safety check, this predicate throws an exception if the CREATED_WITH_MKTEMPDIR file is not in Path.
Create a relocatable symlink (computing relative paths) (e.g., /a/b/c (symlink) -> /a/d/e becomes /a/b/c (symlink) -> ../d/e
Create a symlink from From to To. On platforms where symlinks are not supported (Windows) the file is copied instead. The file To is removed if it existed before.
C is a path to B relative to A (using .. if needed) (e.g., /a/b/c -> /a/d/e becomes /a/b/c -> ../../d/e. Assume both are absolute, otherwise just return B.
The standard input is an interactive terminal.