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