Shell
Nested types and modules
Type | Description |
CopyRecursiveMethod |
Functions and values
Function or value | Description | ||
Shell.appendTextFiles newFileName files
Signature: newFileName:string -> files:seq<string> -> unit
|
Appends all given files to one file. Parameters
|
||
Shell.AppendTextFiles newFileName files
Signature: newFileName:string -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use appendTextFiles instead")>] |
OBSOLETEPlease use appendTextFiles instead Appends all given files to one file. Parameters
|
||
Shell.appendTextFilesWithEncoding(...)
Signature: encoding:Encoding -> newFileName:string -> files:seq<string> -> unit
|
Appends all given files to one file. Parameters
|
||
Shell.AppendTextFilesWithEncoding(...)
Signature: encoding:Encoding -> newFileName:string -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use appendTextFilesWithEncoding instead")>] |
OBSOLETEPlease use appendTextFilesWithEncoding instead Appends all given files to one file. Parameters
|
||
Shell.cd(path)
Signature: path:string -> unit
|
Changes working directory |
||
Shell.chdir(path)
Signature: path:string -> unit
|
Changes working directory |
||
Shell.cleanDir(path)
Signature: path:string -> unit
|
Cleans a directory by removing all files and sub-directories. |
||
Shell.CleanDir(path)
Signature: path:string -> unit
Attributes: [<Obsolete("Please use cleanDir instead")>] |
OBSOLETEPlease use cleanDir instead Cleans a directory by removing all files and sub-directories. |
||
Shell.cleanDirs(dirs)
Signature: dirs:seq<string> -> unit
|
Cleans multiple directories |
||
Shell.CleanDirs(dirs)
Signature: dirs:seq<string> -> unit
Attributes: [<Obsolete("Please use cleanDirs instead")>] |
OBSOLETEPlease use cleanDirs instead Cleans multiple directories |
||
Shell.compareFiles(...)
Signature: delete:bool -> originalFileName:string -> compareFileName:string -> bool
|
Compares the given files for changes. If delete is set to true then equal files will be removed. |
||
Shell.CompareFiles(...)
Signature: delete:bool -> originalFileName:string -> compareFileName:string -> bool
Attributes: [<Obsolete("Please use compareFiles instead")>] |
OBSOLETEPlease use compareFiles instead Compares the given files for changes. If delete is set to true then equal files will be removed. |
||
Shell.copy target files
Signature: target:string -> files:seq<string> -> unit
|
Copies the files to the target. Parameters
|
||
Shell.Copy target files
Signature: target:string -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use copy instead")>] |
OBSOLETEPlease use copy instead Copies the files to the target. Parameters
|
||
Shell.copyCached target cacheDir files
Signature: target:string -> cacheDir:string -> files:seq<string> -> string list
|
Copies the files from a cache folder. If the files are not cached or the original files have a different write time the cache will be refreshed. Parameters
|
||
Shell.CopyCached target cacheDir files
Signature: target:string -> cacheDir:string -> files:seq<string> -> string list
Attributes: [<Obsolete("Please use copyCached instead")>] |
OBSOLETEPlease use copyCached instead Copies the files from a cache folder. If the files are not cached or the original files have a different write time the cache will be refreshed. Parameters
|
||
Shell.copyDir target source filterFile
Signature: target:string -> source:string -> filterFile:(string -> bool) -> unit
|
Copies a directory recursivly. If the target directory does not exist, it will be created. Parameters
|
||
Shell.CopyDir target source filterFile
Signature: target:string -> source:string -> filterFile:(string -> bool) -> unit
Attributes: [<Obsolete("Please use copyDir instead")>] |
OBSOLETEPlease use copyDir instead Copies a directory recursivly. If the target directory does not exist, it will be created. Parameters
|
||
Shell.copyFile target fileName
Signature: target:string -> fileName:string -> unit
|
Copies a single file to the target and overwrites the existing file. Parameters
|
||
Shell.CopyFile target fileName
Signature: target:string -> fileName:string -> unit
Attributes: [<Obsolete("Please use copyFile instead")>] |
OBSOLETEPlease use copyFile instead Copies a single file to the target and overwrites the existing file. Parameters
|
||
Shell.copyFileIntoSubFolder(...)
Signature: target:string -> fileName:string -> unit
|
Copies a single file to a relative subfolder of the target. Parameters
|
||
Shell.CopyFileIntoSubFolder(...)
Signature: target:string -> fileName:string -> unit
Attributes: [<Obsolete("Please use copyFileIntoSubFolder instead")>] |
OBSOLETEPlease use copyFileIntoSubFolder instead Copies a single file to a relative subfolder of the target. Parameters
|
||
Shell.copyFiles target files
Signature: target:string -> files:seq<string> -> unit
|
Copies the files to the target - Alias for Copy Parameters
|
||
Shell.CopyFiles target files
Signature: target:string -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use copyFiles instead")>] |
OBSOLETEPlease use copyFiles instead Copies the files to the target - Alias for Copy Parameters
|
||
Shell.copyFilesWithSubFolder(...)
Signature: targetDir:string -> files:IGlobbingPattern -> unit
|
Copies the given glob-matches into another directory by leaving relative paths in place based on the globbing base-directory Sample
|
||
Shell.copyFileWithSubfolder(...)
Signature: baseDir:string -> target:string -> fileName:string -> unit
|
Copies a single file to the target folder preserving the folder structure starting from the specified base folder. Parameters
|
||
Shell.CopyFileWithSubfolder(...)
Signature: baseDir:string -> target:string -> fileName:string -> unit
Attributes: [<Obsolete("Please use copyFileWithSubfolder instead")>] |
OBSOLETEPlease use copyFileWithSubfolder instead Copies a single file to the target folder preserving the folder structure starting from the specified base folder. Parameters
|
||
Shell.copyRecursive(...)
Signature: dir:string -> outputDir:string -> overWrite:bool -> string list
|
Copies the file structure recursively. |
||
Shell.CopyRecursive(...)
Signature: dir:string -> outputDir:string -> overWrite:bool -> string list
Attributes: [<Obsolete("Please use copyRecursive instead")>] |
OBSOLETEPlease use copyRecursive instead Copies the file structure recursively. |
||
Shell.copyRecursive2(...)
Signature: method:CopyRecursiveMethod -> dir:string -> outputDir:string -> string list
|
Copies the file structure recursively. Parameters
|
||
Shell.CopyRecursive2(...)
Signature: method:CopyRecursiveMethod -> dir:string -> outputDir:string -> string list
Attributes: [<Obsolete("Please use copyRecursive2 instead")>] |
OBSOLETEPlease use copyRecursive2 instead Copies the file structure recursively. Parameters
|
||
Shell.copyRecursiveTo(...)
Signature: overWrite:bool -> outputDir:string -> dir:string -> string list
|
|||
Shell.CopyRecursiveTo(...)
Signature: overWrite:bool -> outputDir:string -> dir:string -> string list
Attributes: [<Obsolete("Please use copyRecursiveTo instead")>] |
OBSOLETEPlease use copyRecursiveTo instead |
||
Shell.copyTo target files
Signature: target:string -> files:seq<string> -> unit
|
Copies the given files to the target. Parameters
|
||
Shell.CopyTo target files
Signature: target:string -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use copyTo instead")>] |
OBSOLETEPlease use copyTo instead Copies the given files to the target. Parameters
|
||
Shell.cp src dest
Signature: src:string -> dest:string -> unit
|
Like "cp" in a shell. Copies a single file. The source The destination |
||
Shell.cp_r src dest
Signature: src:string -> dest:string -> unit
|
Like "cp -r" in a shell. Copies a file or directory recursively. |
||
Shell.deleteDir(dir)
Signature: dir:string -> unit
|
Compat |
||
Shell.DeleteDir(dir)
Signature: dir:string -> unit
Attributes: [<Obsolete("Please use deleteDir instead")>] |
OBSOLETEPlease use deleteDir instead Compat |
||
Shell.deleteDirs(dirs)
Signature: dirs:seq<string> -> unit
|
Deletes multiple directories |
||
Shell.DeleteDirs(dirs)
Signature: dirs:seq<string> -> unit
Attributes: [<Obsolete("Please use deleteDirs instead")>] |
OBSOLETEPlease use deleteDirs instead Deletes multiple directories |
||
Shell.generatePatch(...)
Signature: lastReleaseDir:string -> patchDir:string -> srcFiles:seq<string> -> unit
|
Checks the srcFiles for changes to the last release. Parameters
|
||
Shell.GeneratePatch(...)
Signature: lastReleaseDir:string -> patchDir:string -> srcFiles:seq<string> -> unit
Attributes: [<Obsolete("Please use generatePatch instead")>] |
OBSOLETEPlease use generatePatch instead Checks the srcFiles for changes to the last release. Parameters
|
||
Shell.generatePatchWithFindOldFileFunction(...)
Signature: lastReleaseDir:string -> patchDir:string -> srcFiles:seq<string> -> findOldFileF:(string -> string -> string) -> unit
|
Checks the srcFiles for changes to the last release. Parameters
|
||
Shell.GeneratePatchWithFindOldFileFunction(...)
Signature: lastReleaseDir:string -> patchDir:string -> srcFiles:seq<string> -> findOldFileF:(string -> string -> string) -> unit
Attributes: [<Obsolete("Please use generatePatchWithFindOldFileFunction instead")>] |
OBSOLETEPlease use generatePatchWithFindOldFileFunction instead Checks the srcFiles for changes to the last release. Parameters
|
||
Shell.mkdir(path)
Signature: path:string -> unit
|
Creates a directory if it doesn't exist. |
||
Shell.moveFile target fileName
Signature: target:string -> fileName:string -> unit
|
Moves a single file to the target and overwrites the existing file.
If Parameters
|
||
Shell.MoveFile target fileName
Signature: target:string -> fileName:string -> unit
Attributes: [<Obsolete("Please use moveFile instead")>] |
OBSOLETEPlease use moveFile instead Moves a single file to the target and overwrites the existing file. Parameters
|
||
Shell.mv src dest
Signature: src:string -> dest:string -> unit
|
Like "mv" in a shell. Moves/renames a file The source The destination |
||
Shell.popd()
Signature: unit -> unit
|
Restore the previous directory stored in the stack |
||
Shell.pushd(path)
Signature: path:string -> unit
|
Store the current directory in the directory stack before changing to a new one |
||
Shell.pwd()
Signature: unit -> string
|
Gets working directory |
||
Shell.regexReplaceInFilesWithEncoding(...)
Signature: pattern:string -> replacement:string -> encoding:Encoding -> files:seq<string> -> unit
|
Replace all occurences of the regex pattern with the given replacement in the specified files Parameters
|
||
Shell.RegexReplaceInFilesWithEncoding(...)
Signature: pattern:string -> replacement:string -> encoding:Encoding -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use regexReplaceInFilesWithEncoding instead")>] |
OBSOLETEPlease use regexReplaceInFilesWithEncoding instead Replace all occurences of the regex pattern with the given replacement in the specified files Parameters
|
||
Shell.regexReplaceInFileWithEncoding(...)
Signature: pattern:string -> replacement:string -> encoding:Encoding -> file:string -> unit
|
Replace all occurences of the regex pattern with the given replacement in the specified file Parameters
|
||
Shell.RegexReplaceInFileWithEncoding(...)
Signature: pattern:string -> replacement:string -> encoding:Encoding -> file:string -> unit
Attributes: [<Obsolete("Please use regexReplaceInFileWithEncoding instead")>] |
OBSOLETEPlease use regexReplaceInFileWithEncoding instead Replace all occurences of the regex pattern with the given replacement in the specified file Parameters
|
||
Shell.rename target fileName
Signature: target:string -> fileName:string -> unit
|
Renames the file or directory to the target name. Parameters
|
||
Shell.Rename target fileName
Signature: target:string -> fileName:string -> unit
Attributes: [<Obsolete("Please use rename instead")>] |
OBSOLETEPlease use rename instead Renames the file or directory to the target name. Parameters
|
||
Shell.replaceInFiles replacements files
Signature: replacements:seq<string * string> -> files:seq<string> -> unit
|
Replaces all occurences of the patterns in the given files with the given replacements. Parameters
|
||
Shell.ReplaceInFiles replacements files
Signature: replacements:seq<string * string> -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use replaceInFiles instead")>] |
OBSOLETEPlease use replaceInFiles instead Replaces all occurences of the patterns in the given files with the given replacements. Parameters
|
||
Shell.rm(fileName)
Signature: fileName:string -> unit
|
Deletes a file if it exists |
||
Shell.rm_rf(f)
Signature: f:string -> unit
|
Like "rm -rf" in a shell. Removes files recursively, ignoring nonexisting files |
||
Shell.silentCopy target files
Signature: target:string -> files:seq<string> -> unit
|
Copies a list of files to the specified directory without any output. Parameters
|
||
Shell.SilentCopy target files
Signature: target:string -> files:seq<string> -> unit
Attributes: [<Obsolete("Please use silentCopy instead")>] |
OBSOLETEPlease use silentCopy instead Copies a list of files to the specified directory without any output. Parameters
|
||
Shell.testDir(path)
Signature: path:string -> bool
|
Checks if the directory exists |
||
Shell.TestDir(path)
Signature: path:string -> bool
Attributes: [<Obsolete("Please use testDir instead")>] |
OBSOLETEPlease use testDir instead Checks if the directory exists |
||
Shell.testFile(path)
Signature: path:string -> bool
|
Checks if the file exists |
||
Shell.TestFile(path)
Signature: path:string -> bool
Attributes: [<Obsolete("Please use testFile instead")>] |
OBSOLETEPlease use testFile instead Checks if the file exists |
||
Shell.writeConfigFile(...)
Signature: configFileName:string -> parameters:seq<'?19861 * '?19862> -> unit
Type parameters: '?19861, '?19862 |
Creates a config file with the parameters as "key;value" lines |
||
Shell.WriteConfigFile(...)
Signature: configFileName:string -> parameters:seq<'?19892 * '?19893> -> unit
Type parameters: '?19892, '?19893 Attributes: [<Obsolete("Please use writeConfigFile instead")>] |
OBSOLETEPlease use writeConfigFile instead Creates a config file with the parameters as "key;value" lines |