User Tools

Site Tools


windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
windows [2023/03/02 17:28]
root created
windows [2023/03/02 17:39] (current)
root
Line 8: Line 8:
 **The Slurm (or other) script that I edited on my PC doesn't work after copying to the cluster**. **The Slurm (or other) script that I edited on my PC doesn't work after copying to the cluster**.
 Text file formats are slightly different.   Text file formats are slightly different.  
-Some applications don't care, but Slurm does.+Some applications don't care, but Slurm does.  This probably won't happen with files created in WSL as they will be in Unix format.
 Run ''file'' on the cluster to check it and ''dos2unix'' to fix.   Run ''file'' on the cluster to check it and ''dos2unix'' to fix.  
  
Line 22: Line 22:
 </code> </code>
  
-**I can't scp my file/directory name with a space**.  ''scp'' interprets an extra space as a list of files or directories and a group with a colon as a remote file designator hostname:filename.  Fix: use single or double quotes. If one appears in the filename, use the other.  +**I can't scp my file/directory name with a space**.  ''scp'' interprets an extra space as a list of files or directories and a group with a colon as a remote file designator hostname:filename.  Fix: use single or double quotes. If one type of quote appears in the filename, use the other.  
 <code> <code>
 scp -r My File pinnacle.uark.edu:/home/rfeynman/ scp -r My File pinnacle.uark.edu:/home/rfeynman/
Line 30: Line 30:
 scp "O'Reilly File" pinnacle.uark.edu:/home/rfenynman/ scp "O'Reilly File" pinnacle.uark.edu:/home/rfenynman/
 </code> </code>
-Most Linux users don't like having file or directory names with embedded spaces or quotation marks. Linux doesn't allow forward slashes in filenames at all. It's easier to rename them. +Most Linux users don't like having file or directory names with embedded spaces or quotation marks. Also Linux doesn't allow forward slashes in filenames at all. It's easier to rename them, but you can keep typing quotes if you like.
  
 **I can't scp my full file name even in quotes** (this is Windows scp in terminal, it shouldn't happen in WSL since the local file specification would be /mnt/c/Users/etc.) **I can't scp my full file name even in quotes** (this is Windows scp in terminal, it shouldn't happen in WSL since the local file specification would be /mnt/c/Users/etc.)
windows.1677778110.txt.gz · Last modified: 2023/03/02 17:28 by root