shell-novice icon indicating copy to clipboard operation
shell-novice copied to clipboard

Add OneDrive/OS info to inline instructor notes

Open ndporter opened this issue 2 years ago • 3 comments

The instructor notes have excellent detail on managing the complexities of finding desktop directories in various OS's with and without OneDrive, but I didn't realize those had been added. It would be great if someone took the time to convert those to inline notes in the Navigating Files and Directories lesson.

ndporter avatar May 22 '23 14:05 ndporter

Is it worth modifying the episode and the notes to mention people they can find the directory located on their desktop, then 'drag and drop' it into their terminal and it will automatically put the path in - this gets around pretty much all the different configuration issues and confusion that happens at the start of the lesson. Gets around the multiple OneDrives and the use of spaces in many of the enterprise onedrives.

I also believe OneDrive is now the default for Windows 11 users.

murraycadzow avatar Jul 08 '24 03:07 murraycadzow

Does the drag and drop option work for all OS's @murraycadzow?

sstevens2 avatar Feb 05 '25 19:02 sstevens2

I can copy the absolute file path on a Windows machine.
These unnumbered and unlinkable instructor notes would work much better at the point of relevance in the instructor notes. I'm not sure when I'll have that time; I'm sorry.

I would paste at https://swcarpentry.github.io/shell-novice/02-filedir.html#exploring-other-directories the piece about (just above this section on windows, https://swcarpentry.github.io/shell-novice/instructor/instructor-notes.html#windows) "On Windows, it appears that: BASH

$ cd $ cd Desktop

will always put someone on their desktop (unless their machine is backed up using enterprise OneDrive, see next point). Have them create the example directory for the shell exercises there so that they can find it easily and watch it evolve.

If a Windows machine is backed up with enterprise OneDrive, their GUI desktop may be rendered from a folder within OneDrive, which will not match the contents of ~/Desktop. The OneDrive desktop should be accessible using one of the following commands (if the name of the enterprise isn’t clear, look through the output of ls to find the right folder): BASH

$ cd "~/OneDrive - Name Of Enterprise/Desktop" $ cd "C:/Users/Username/OneDrive - Name Of Enterprise/Desktop"

One way to spot if the computer is using this kind of configuration is to look at files, folders or links on the desktop. Usually the icon contains a shortcut/arrow symbol if it is a link, or just the plain icon if the file is just saved in the Desktop folder. Files synced with OneDrive contain an additional symbol indicating the sync status (typically blue arrows for ‘sync pending’ or a green tick for ‘synced’)."

Image

jas58 avatar Feb 11 '25 14:02 jas58