File: CreateDir.sh

package info (click to toggle)
jtreg 5.1-b01-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 5,432 kB
  • sloc: java: 29,218; xml: 729; sh: 665; makefile: 245
file content (19 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
OS=`uname -s`
case "$OS" in
  SunOS )
    FILESEP="/" ;;
  Windows_95 | Windows_NT )
    FILESEP="\\" ;;
  * )
    echo "Unrecognized system!"
esac

CURDIR="."

mkdir ${CURDIR}${FILESEP}testDir

date > "${CURDIR}${FILESEP}elk"
date > "${CURDIR}${FILESEP}testDir${FILESEP}cow"
date > "${CURDIR}${FILESEP}testDir${FILESEP}moose"

echo "Directory structure created"