# FileUtil

> Lets you do move, copy, delete operations over files or directories.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public class FileUtil
```

## Static Methods

| Method                                                                                                                         | Description                                                           |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------- |
| [CopyFileOrDirectory](/engine/6000.0/script-reference/unityeditor/fileutil/copyfileordirectory.md)                             | Copies a file or a directory.                                         |
| [CopyFileOrDirectoryFollowSymlinks](/engine/6000.0/script-reference/unityeditor/fileutil/copyfileordirectoryfollowsymlinks.md) | Copies the file or directory.                                         |
| [DeleteFileOrDirectory](/engine/6000.0/script-reference/unityeditor/fileutil/deletefileordirectory.md)                         | Deletes a file or a directory given a path.                           |
| [GetLogicalPath](/engine/6000.0/script-reference/unityeditor/fileutil/getlogicalpath.md)                                       | Converts a physical path to a logical path.                           |
| [GetPhysicalPath](/engine/6000.0/script-reference/unityeditor/fileutil/getphysicalpath.md)                                     | Converts a logical path to a physical path.                           |
| [GetUniqueTempPathInProject](/engine/6000.0/script-reference/unityeditor/fileutil/getuniquetemppathinproject.md)               | Returns a unique path in the Temp folder within your current project. |
| [MoveFileOrDirectory](/engine/6000.0/script-reference/unityeditor/fileutil/movefileordirectory.md)                             | Moves a file or a directory from a given path to another path.        |
| [ReplaceDirectory](/engine/6000.0/script-reference/unityeditor/fileutil/replacedirectory.md)                                   | Replaces a directory.                                                 |
| [ReplaceFile](/engine/6000.0/script-reference/unityeditor/fileutil/replacefile.md)                                             | Replaces a file.                                                      |
