Skip to content

Commit 3e22f74

Browse files
committed
moved warning
1 parent e5c8c0d commit 3e22f74

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/hpc/03_storage/05_best_practices.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ As mentioned elsewhere in our documentation, a problem we often see for our user
4141

4242
Our recommended fix for this is to make a directory for these files in your `/scratch` directory and then make a symbolic link in your `/home` that points to the one you just created in `/scratch`. This allows these applications to write to what appears to be your `/home` directory, but is actually stored in your `/scratch` directory. This can be accomplished with the following commands:
4343

44+
:::warning
45+
The first part of the following commands will remove the contents of the dot directory in your `${HOME}` directory. Be sure to copy anything you'd like to save from that directory before executing.
46+
:::
47+
4448
For VSCode:
4549
```bash
4650
rm -rf ${HOME}/.vscode-server && mkdir -p ${SCRATCH}/vscode-server && ln -s ${SCRATCH}/vscode-server ${HOME}/.vscode-server
@@ -56,10 +60,6 @@ For RStudio:
5660
rm -rf ${HOME}/.local/share/rstudio && mkdir -p ${SCRATCH}/.local/share/rstudio && ln -s ${SCRATCH}/.local/share/rstudio ${HOME}/.local/share/rstudio
5761
```
5862

59-
:::warning
60-
The first part of the commands above will remove the contents of the dot directory in your `${HOME}` directory. Be sure to copy anything you'd like to save from that directory before running the commands above.
61-
:::
62-
6363
For details about changing your default RStudio directory please see [User state storage](https://docs.posit.co/ide/server-pro/admin/rstudio_pro_sessions/workspace_management.html#user-state-storage).
6464

6565
Please contact [hpc@nyu.edu](mailto:hpc@nyu.edu) if you have any questions.

0 commit comments

Comments
 (0)