Giter Site home page Giter Site logo

macos_toolbox's Introduction

macOS_toolbox

Synopsis

macOS_toolbox is a replacement for busybox/toybox for macOS. It combines several macOS command line utilities into a single executable. This works very much like crunchgen: The unmodified source code is compiled and linked together.

Requirements

Tested with Xcode 9.2 (9C40b) on a Mac running macOS 10.13.2.

Building

Install Xcode

You can obtain the latest version of Xcode from the Mac App Store or the Apple developer website (requires free Apple Developer account).

Download files

Open a terminal and run:

git clone https://github.com/lukas-zronek/macOS_toolbox.git

Compile

cd macOS_toolbox

You can build two different variants:

  • Add all available programs
./build

or

  • just add programs that are missing in the macOS recovery partition
./build recovery

Usage

./toolbox COMMAND

Examples

./toolbox uname -a
Darwin Mac-mini.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov  9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64
./toolbox du -h toolbox
1,8M	toolbox

If no command is given, all included programs will be listed:

./toolbox
Included programs:
	uuencode
	uudecode
	mesg
	write
	chflags
	chmod
	chown
	cksum
	compress
	cp
	dd
	df
	du
	gzip
	install
	ipcrm
	ln
	ls
	mkdir
	mkfifo
	mknod
	mtree
	mv
	pathchk
	pax
	rm
	unlink
	rmdir
	stat
	touch
	apply
	basename
	chroot
	date
	dirname
	echo
	env
	expr
	false
	find
	getopt
	hexdump
	od
	hostname
	id
	groups
	whoami
	jot
	kill
	killall
	lastcomm
	locate
	logname
	mktemp
	nice
	nohup
	path_helper
	printenv
	printf
	pwd
	renice
	script
	seq
	sh
	shlock
	sleep
	systime
	tee
	test
	[
	time
	true
	uname
	users
	what
	whereis
	which
	who
	xargs
	yes
	banner
	cat
	col
	colrm
	column
	comm
	csplit
	cut
	ed
	ee
	expand
	fmt
	fold
	grep
	egrep
	fgrep
	zgrep
	zegrep
	zfgrep
	bzgrep
	bzegrep
	bzfgrep
	head
	join
	lam
	look
	md5
	nl
	paste
	pr
	rev
	rs
	sed
	sort
	split
	tail
	tr
	ul
	unexpand
	uniq
	unvis
	vis
	wc
	rsync
	nano
	gm4
	m4

License

macOS_toolbox is released under BSD 2-Clause License. With the exception of source code in the extern directory which falls under the license specified in the respective source file.

macos_toolbox's People

Contributors

lukas-zronek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.