Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
121 lines (84 loc) · 3.68 KB

README.md

File metadata and controls

121 lines (84 loc) · 3.68 KB

SICAS Scripts

NOTE

I no longer work at SICAS so this repo is archived

Lint Status

Repository containing scripts and tools for development at the SICAS Center.

Current scripts

Script Description
audit Usage & Install Allows developers to look at the audit trail of a jar file file without needing to extract it
ff_dup_id Usage & Install Check flat file recieved from SUNYHR for duplicate Global IDs
mkextension Usage & Install Create base extension template for Ellucian Expirence

Installation

installer.sh is a script that can automatically install any selection of avaiable scripts onto your system. This script requires checks for whiptail and dos2unix to be installed before prompting the scripts install.

# Install pre-reqs
sudo apt install whiptail dos2unix wget

wget https://raw.githubusercontent.com/CGBassPlayer/sicas-scripts/master/installer.sh -O - | bash

audit

audit Manual Installation

To install this script, download it and but it in your local bin directory

wget https://raw.githubusercontent.com/CGBassPlayer/sicas-scripts/master/scripts/audit.sh
mkdir -p ~/bin
mv audit.sh ~/bin/audit
chmod u+x ~/bin/audit

To install for all users on the system, install in the /usr/bin/ directory

wget https://raw.githubusercontent.com/CGBassPlayer/sicas-scripts/master/scripts/audit.sh
sudo mv audit.sh /usr/bin/audit
sudo chmod +x /usr/bin/audit

audit Usage

Usage: audit -j {file} [options]
    -h  --help          Display this help prompt
    -V  --version       Display version
    -v  --verbose       Show log messages

    -j  --jar {file}    Name of the jar file

    -l  --list          List the editable files in the jar

    -f  --file {file}   Name of the audit trail file. 'AUDIT_TRAIL' is default
    -e  --edit {file}   Edit a specific file inside the jar
    -d  --delete {file} Delete a specific file inside the jar

ff_dup_id

ff_dup_id Manual Installation

To install this script, download it and but it in your local bin directory

wget https://raw.githubusercontent.com/CGBassPlayer/sicas-scripts/master/scripts/ff_dup_id.py
mkdir -p ~/bin
mv ff_dup_id.py ~/bin/ff_dup_id
chmod u+x ~/bin/ff_dup_id

To install for all users on the system, install in the /usr/bin/ directory

wget https://raw.githubusercontent.com/CGBassPlayer/sicas-scripts/master/scripts/ff_dup_id.py
mv ff_dup_id.py ~/bin/ff_dup_id
chmod u+x ~/bin/ff_dup_id

ff_dup_id Usage

ff_dup_id {file}

mkextension

mkextension Manual Installation

To install this script, download it and but it in your local bin directory

wget https://raw.githubusercontent.com/CGBassPlayer/sicas-scripts/master/scripts/mkextension.sh
mkdir -p ~/bin
mv mkextension.sh ~/bin/mkextension
chmod u+x ~/bin/mkextension

To install for all users on the system, install in the /usr/bin/ directory

wget https://raw.githubusercontent.com/CGBassPlayer/sicas-scripts/master/scripts/mkextension.sh
mv mkextension.py ~/bin/mkextension
chmod u+x ~/bin/mkextension

mkextension Usage

mkextension {extension name}