11 lines
108 B
Plaintext
11 lines
108 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
for path
|
||
|
do
|
||
|
test -f "$path" &&
|
||
|
path=$(dirname "$path")
|
||
|
|
||
|
cd "$path"
|
||
|
terminal
|
||
|
done
|