Skip to content

Commit 7505e77

Browse files
committed
differences for PR #1480
1 parent 0f0b6f4 commit 7505e77

File tree

3 files changed

+31
-19
lines changed

3 files changed

+31
-19
lines changed

02-filedir.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,35 @@ Note that if a directory named `Desktop` does not exist in your current working
405405
this command will return an error. Typically, a `Desktop` directory exists in your
406406
home directory, which we assume is the current working directory of your bash shell.
407407

408+
:::::::::::::: callout
409+
410+
### OneDrive Variations
411+
412+
If a Windows machine is backed up with OneDrive, your Desktop may
413+
be rendered from a folder within OneDrive, which will not match the contents of `~/Desktop`.
414+
The OneDrive desktop should be accessible using one of the following commands
415+
(if the name of the enterprise/org isn't clear, look through the output of `ls` to find
416+
the right folder):
417+
418+
```bash
419+
$ cd "~/OneDrive - Name Of Enterprise/Desktop"
420+
$ cd "C:/Users/Username/OneDrive - Name Of Enterprise/Desktop"
421+
```
422+
423+
Note: The quotation marks are needed since the Unix shell interprets spaces to be meaningful separators between files/commands/options.
424+
425+
::: instructor
426+
427+
One way to spot if the computer is using this kind of configuration with OneDrive is to look at files,
428+
folders or links on the desktop. Usually the icon contains a shortcut/arrow symbol if it
429+
is a link, or just the plain icon if the file is just saved in the `Desktop` folder.
430+
Files synced with OneDrive contain an additional symbol indicating the sync status
431+
(typically blue arrows for 'sync pending' or a green tick for 'synced').
432+
433+
::::::::::::::
434+
435+
::::::::::::::::::::::
436+
408437
Your output should be a list of all the files and sub-directories in your
409438
Desktop directory, including the `shell-lesson-data` directory you downloaded at
410439
the [setup for this lesson](../learners/setup.md). (On most systems, the

instructor-notes.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -221,23 +221,6 @@ as long as learners using Windows do not run into roadblocks such as:
221221
so that they can find it easily
222222
and watch it evolve.
223223

224-
- If a Windows machine is backed up with enterprise OneDrive, their GUI desktop may
225-
be rendered from a folder within OneDrive, which will not match the contents of `~/Desktop`.
226-
The OneDrive desktop should be accessible using one of the following commands
227-
(if the name of the enterprise isn't clear, look through the output of `ls` to find
228-
the right folder):
229-
230-
```bash
231-
$ cd "~/OneDrive - Name Of Enterprise/Desktop"
232-
$ cd "C:/Users/Username/OneDrive - Name Of Enterprise/Desktop"
233-
```
234-
235-
One way to spot if the computer is using this kind of configuration is to look at files,
236-
folders or links on the desktop. Usually the icon contains a shortcut/arrow symbol if it
237-
is a link, or just the plain icon if the file is just saved in the `Desktop` folder.
238-
Files synced with OneDrive contain an additional symbol indicating the sync status
239-
(typically blue arrows for 'sync pending' or a green tick for 'synced').
240-
241224
- Stay within POSIX-compliant commands, as all the teaching materials do.
242225
Your particular shell may have extensions beyond POSIX that are not available
243226
on other machines, especially the default macOS bash and Windows bash emulators.

md5sum.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"config.yaml" "7e947da357206469f1a2c8a159290d19" "site/built/config.yaml" "2023-05-02"
55
"index.md" "b40a8b40c0ac29c17dd1ee7f402b62e4" "site/built/index.md" "2023-05-02"
66
"episodes/01-intro.md" "f9424965b4e7855f0e569be741c5e88e" "site/built/01-intro.md" "2023-06-09"
7-
"episodes/02-filedir.md" "14a1c573a9731344ede0c6ff854d953b" "site/built/02-filedir.md" "2024-07-24"
7+
"episodes/02-filedir.md" "1e7e199443e5cd438b58896f8f04287b" "site/built/02-filedir.md" "2025-02-05"
88
"episodes/03-create.md" "cda7949aecf6bfe600e559f27319cc71" "site/built/03-create.md" "2024-03-08"
99
"episodes/04-pipefilter.md" "e1c92193a59ec25ad054078348391b5d" "site/built/04-pipefilter.md" "2024-09-26"
1010
"episodes/05-loop.md" "7ea3b6c5e96b1cd2ddeb0b176c1b4be1" "site/built/05-loop.md" "2024-09-26"
1111
"episodes/06-script.md" "166572403e3b5f1c314ce7c52babb7b5" "site/built/06-script.md" "2023-08-05"
1212
"episodes/07-find.md" "b2c592366ea5a5c9a654ba13ec5765d1" "site/built/07-find.md" "2023-11-09"
13-
"instructors/instructor-notes.md" "5db2f86826be7c6bba6157eb15a8a881" "site/built/instructor-notes.md" "2023-06-18"
13+
"instructors/instructor-notes.md" "04b9a2c672bbbbce17eb0105b5677456" "site/built/instructor-notes.md" "2025-02-05"
1414
"learners/discuss.md" "e3a807a008ea41b21938c026470d4ca3" "site/built/discuss.md" "2023-05-02"
1515
"learners/reference.md" "6f8b578b8d91ca4abf2585db9c1910a4" "site/built/reference.md" "2023-07-23"
1616
"learners/setup.md" "2b8710e384ecf107d929e751e7e4f4c6" "site/built/setup.md" "2023-07-26"

0 commit comments

Comments
 (0)