# Using File Explorer on OOD

The filesystem on Oscar can be accessed through the file explorer on this web portal. The file explorer allows you

* List files
* Create a directory
* Rename files
* [Edit plain-text files](#edit-plain-text-files)
* [Upload files or directories](#upload-files-or-directories)
* [Download files or directories](#download-files-or-directories)
* Copy/Move files
* [Launch a terminal from the current directory](#undefined)

To access the file explorer, click "Files" -> "Home Directory" at the top of the screen.

![File explorer menu showing Files and Home Directory option](https://4272811953-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LcWJ6pKCQH6l3rl9IQa%2Fuploads%2FfiEmdbaq1K6pCxkwAAzw%2Ffile_explorer.png?alt=media\&token=f8e46876-dbdd-449d-9dea-d785d5f36a8d)

Check the documentation below for some of these services below:

## Changing directories on File explorer

To access a directory, click "Change directory" and enter the path name

{% hint style="info" %}
Do not use "\~" in your directory path name. The path should start with "/users" or "/oscar/"
{% endhint %}

* To access your home directory, click the "**Home Directory**" link on the left. The path name at the top of the page should change to "/users/\<username>"
* To access your scratch directory, click the "scratch" directory in your home directory **OR** click "Change directory" and enter "/users/\<username>/scratch"
* To access your data directory, click the "data" directory in your home directory **OR** click "Change directory" and enter "/users/\<username>/data"

### Edit plain-text files

1. [Navigate to the directory](#changing-directories-on-file-explorer) that contains the plain-text file.
2. Click the icon with the three dots -> Edit
3. The file will open in a text editor in a new tab

![Edit file option in three dots menu](https://4272811953-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LcWJ6pKCQH6l3rl9IQa%2Fuploads%2FwOXSnfvqEVSScBLD9JE3%2Fedit.png?alt=media\&token=a8bba982-d8d3-4fd3-bb44-f4314d8924fa)

### Download files or directories

1. [Navigate to the directory](#changing-directories-on-file-explorer) that contains the file or directory.
2. Click the icon with the three dots -> Download

![Download option in three dots menu](https://4272811953-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LcWJ6pKCQH6l3rl9IQa%2Fuploads%2FBDt3eXwDAmhVWXOcfeKH%2Fdownload.png?alt=media\&token=be4f60d5-8861-4967-be9c-b986e2bbb4be)

To download multiples files:

1. Click the check-box to the left of the file name.
2. Scroll to the top of the page and click "Download"

Directories are downloaded as zipped files on your computer.

### Upload files or directories

1. [Navigate to the directory](#changing-directories-on-file-explorer) where you need to upload the files.
2. Click the "Upload" button.
3. Follow the instructions on the screen. You can click the "Browse" buttons or drag and drop files.

![Upload button in file explorer](https://4272811953-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LcWJ6pKCQH6l3rl9IQa%2Fuploads%2Fgdmo9dB3wk6JLYylLc5z%2FUpload.png?alt=media\&token=01df3bab-c8a8-41b5-8f82-dc33af93e1b5)

### Launch a terminal

1. [Navigate to the directory](#changing-directories-on-file-explorer) where you would like to open the terminal
2. Click "Open in Terminal" at the top of the page.
3. A web-based terminal will open in a new tab of your browser. You will be logged into one of the login nodes.

![Open in Terminal button in file explorer toolbar](https://4272811953-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LcWJ6pKCQH6l3rl9IQa%2Fuploads%2F7CuqWWTrvQS5hrwt0l86%2Fterminal.png?alt=media\&token=44760d9d-21a0-4089-80c1-4426784deb9c)
