1
vote
1answer
50 views

File tree list Mac Terminal

I am trying to create a .txt file that is the output of a certain function in the terminal. So my function is to create a list of all the files that i have inside the folder TEST so what i typed was: ...
2
votes
0answers
60 views

Log software usage time on Mac OS 9 (Oct. 1999)

I'm needing to log the time a user spends inside of an application in Mac OS 9. I created a simple bash script "launcher" to do this, but then discovered OS 9 doesn't have bash installed. Here is the ...
1
vote
1answer
316 views

How do I make a bash script so that I can drag its input on top of the icon?

I need to make a bash script to that I can drag a .rar file on top of it and then the script will receive the pathname of that file as argument 1 ($1). I have made the bash script, but how do I make ...
3
votes
3answers
286 views

Compare multi-digit version numbers in bash

Trying to write a script that searches for the version of the Application then returns the value. My problem is the value is three to four intergers long (example 4.3.2). I have searched for a while ...
1
vote
1answer
44 views

How to change some information in a shell prompt.

I opened my terminal and saw a shell prompt. Last login: Fri Feb 15 15:28:16 on ttys000 john:~ voloda2$ How do I change john to alex?
1
vote
0answers
57 views

Most efficient way to get all files in a directory

I have a million+ files spread across four fiber-connected arrays. I need to get the path, filesize, and last_modified date to insert into a mysql database. What would be the best way to do this? ...
2
votes
1answer
356 views

bash file recovery?

I think I messed up my bash file /bin/bash when trying to create my first script, it displays a message saying "process completed" and locks my terminal, if I switch to another shell e.g sh, then it's ...
1
vote
4answers
530 views

How to obtain Bluetooth ID (OS X)

I need to remotely grab the Bluetooth ID from multiple machines throughout my network. What are the best ways to remotely obtain the Bluetooth ID in OS X?
2
votes
2answers
2k views

Is there a Mac equivalent for UDEV folder on linux?

I am writing a script which should backup my Documents folder onto a USB stick. I want the script to be executed every time I connect the USB stick. I found a solution here. But it seems like I can't ...
1
vote
1answer
454 views

Bash problem Mac OS Terminal

Hi when I pressed the up arrow to see the previous command, it rewrote the current command from half. Example: 21 /usr/local/sphinx/etc > /usr/local/sphinx/bin/search --config ...
1
vote
1answer
1k views

Mac OS X Terminal [Use option as meta key] overrides backslash in spanish keyboard

I already posted this question in stackoverflow: http://stackoverflow.com/questions/4811282/mac-os-x-terminal-use-option-as-meta-key-overrides-backslash-in-spanish-keyboar but I was informed there ...