Skip to content

Instantly share code, notes, and snippets.

@ottuzzi
ottuzzi / get_oracle_jdk_linux_x64.sh
Last active February 16, 2017 15:04 — forked from n0ts/get_oracle_jdk_x64.sh
Get latest Oracle JDK package bash shell script
#!/bin/bash
# You must accept the Oracle Binary Code License
# http://www.oracle.com/technetwork/java/javase/terms/license/index.html
# usage: get_jdk.sh <ext> <jdk_version>
# ext: rpm
# jdk_version: default 8
ext=rpm
jdk_version=8
#
# Rules for Maid file cleaner, bunch of rules to sorting Photorec output folder.
# Maid Tool : https://github.com/benjaminoakes/maid
# PhotoRec Tool : http://www.cgsecurity.org/wiki/PhotoRec
#
# ----Help----
# Get All extension in directory : find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u
# ------------
# Author: HugoPoi
#