Summary
    Moves an existing file to a new location.
    
		- Namespace
- Cake.Common .IO 
- Containing Type
- FileAliases
Syntax
[CakeMethodAlias]
[CakeAliasCategory("Move")]
public static void MoveFileToDirectory(this ICakeContext context, FilePath filePath, DirectoryPath targetDirectoryPath)Examples
MoveFileToDirectory("test.txt", "./targetdir");Attributes
| Type | Description | 
|---|---|
| Cake | An attribute used to mark script method aliases. | 
| Cake | An attribute used for documentation of alias methods/properties. | 
Parameters
| Name | Type | Description | 
|---|---|---|
| context | ICakeContext | The context. | 
| filePath | FilePath | The file path. | 
| targetDirectoryPath | DirectoryPath | The target directory path. | 
Return Value
| Type | Description | 
|---|---|
| void | 
