Programatically change which opens a file type

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Programatically change which opens a file type
# 1  
Old 08-13-2009
Question Programatically change which opens a file type

Hi there,

If we have 2 apps on our customers machines that can both open files of a certain file extension, is there any way via shell commands to set which application should be the default?

Essentially, I'm hoping to replicate Get Info > Open With > Change All, but using a script.

Thanks in advance!
Dave
Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SSH Programatically

Hi Experts, Need some help. I am trying below code programatically to login to ssh ip from a csv file. the below code logging into all servers and executing some command line syntax. But what I need is for example if i have 5 IP's ,if first one connects successfully and executes the... (3 Replies)
Discussion started by: onenessboy
3 Replies

2. Red Hat

Can I change the partition type with fdisk without disrupting data?

Hello, I have been going through our environment and I see we have a few servers with LVM's setup and the file system type is still set to "83" within fdisk. If I change this to "8e", will it hurt the data or cause any loss? I need to know for sure before I make the change. (1 Reply)
Discussion started by: s ladd
1 Replies

3. UNIX for Advanced & Expert Users

sendmails works, but opens 43 file handles per email -> problem

I'm using Sendmail 8.13.8 on a CentOS 5.5 vServer (Virtuozzo). I'm using a loop in PHP to send a lot of HTML-mails via sendmail. Each mail is a mail with individual statistics for our users, so its not mass mailing, bcc is not an option. It all works fine, but when I take a closer look there... (2 Replies)
Discussion started by: ZX81
2 Replies

4. Shell Programming and Scripting

Position to last line when vi opens a file.

Any Idea without entering any keystroke I can go to end of line in vi when I opening the file. When I am opening Vi I want to goto last line. when I give vi + filename it does not work. Any clue why it does not work. Thanks. (3 Replies)
Discussion started by: ekb
3 Replies

5. UNIX for Dummies Questions & Answers

Selectionbox, script which opens more than one file at once?

hello everybody Im very new at shell and programming :eek: and i have the following question/problem: I need a script for framemaker (based on shell) which opens a new document from a template (.fm). Then imports a .doc file and then save it as a .mif. Actually my script works with one... (3 Replies)
Discussion started by: tio86
3 Replies

6. Shell Programming and Scripting

change file type to hidden using chmod command

I want to make a hidden file with chmod command. Example: I have a file name inputfile.txt -rw-r--r-- 1 xxxxxx xxxxxx 1388 Sep 12 05:41 inputfile.txt I want to hide that file using chmod command. Please tell me if it is possible or there is some other way to do this. Thanks... (2 Replies)
Discussion started by: rinku
2 Replies

7. Shell Programming and Scripting

change the contraints type of fields in database

how to disable the contraint type of a field (which is present in diffrent tables ) in database using a single unix script file. (4 Replies)
Discussion started by: shaksing
4 Replies

8. Programming

Add IpAddress Through Programatically

Hi all, Can u give me some suggestions how to add Ip Address through Programmatically , Actually I done it in Windows But now I want same thing in Unix................................ Can Any body Help to me....... (6 Replies)
Discussion started by: ykmraju
6 Replies
Login or Register to Ask a Question
TOMBOY(1)						       GNOME User's Manuals							 TOMBOY(1)

NAME
tomboy - A simple note-taking application for Gnome SYNOPSIS
tomboy [OPTION] ... DESCRIPTION
This manual page documents briefly the tomboy command. Tomboy is a desktop note-taking application for Linux and Unix. Simple and easy to use, but with potential to help you organize the ideas and information you deal with every day. Tomboy's usefulness lies in the ability to relate notes and ideas together, using a WikiWiki-like linking system. When run without any options, the Tomboy note menu appears in the Gnome Panel's notification tray area. Selecting a note from the menu displays the note's spatial window. Changes to notes are saved automatically. Links to URLs, files, and other notes are detected as you type. Rich editing such as highlight- ing, bold, italics, undo/redo, and variable font sizes are supported. Global keybindings exist to allow fast access to Tomboy notes and dialogs. These keybindings are set in GConf (see below) and may be acti- vated from any application. OPTIONS
The program follows the usual GNU command line syntax, with options starting with two dashes (`--'). A summary of options are included below. --new-note Create and display a new note. --new-note TITLE Create and display a new note with the title given. --open-note TITLE/URL Display the existing note matching TITLE or URL. --start-here Display the "Start Here" note. --highlight-search TEXT Search and highlight TEXT in the opened note. --help Show summary of options. --version Show version of program. GCONF SETTINGS
Tomboy has several preference settings stored in GConf. Changes to Settings are applied instantly to any running Tomboy instance. A sum- mary of the GConf settings and their purpose are described below. /apps/tomboy/global_keybindings/open_start_here Global X keybinding for displaying the "Start Here" note. The default keybinding is <Alt>F11. /apps/tomboy/global_keybindings/show_note_menu Global X keybinding for displaying the Tomboy applet's note menu. The default keybinding is <Alt>F12. /apps/tomboy/global_keybindings/create_new_note Global X keybinding for creating and displaying a new note. /apps/tomboy/global_keybindings/open_recent_changes Global X keybinding for opening the recent changes dialog. /apps/tomboy/global_keybindings/open_search Global X keybinding for opening the note search dialog. SEE ALSO
http://www.beatniksoftware.com/tomboy/ BUGS
Please send bug reports to the Tomboy mailing list (tomboy-list@beatniksoftware.com) or enter them in the Gnome Bugzilla bug tracker (http://bugzilla.gnome.org/enter_bug.cgi?product=Tomboy). AUTHOR
Alex Graveley <alex@beatniksoftware.com> This manual page was originally written by Luca Capello <luca@pca.it>. gnome October 14, 2004 TOMBOY(1)