LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2005, 10:48 AM   #1
akiko_f
LQ Newbie
 
Registered: Jun 2005
Location: Orlando, FL, USA
Distribution: SuSe 9.3 Professional
Posts: 9

Rep: Reputation: 0
Unhappy Automator in Linux


For research I use FC 4. I am working on Astronomy data right now and I would like to get repeatative things done automatically. Much like automator in Mac. The files have .fits extension and can be opened using ds9. ds9 gives the choice of saving these files as jpeg. But I need to open each one of them seperately and save them. Given the fact that I have 200 files it will take long boring and tedious time to complete.

I would like to know if you know any shell command or a series that will convert these files into jpeg.

I apprecitate your helpl
 
Old 11-26-2005, 01:02 PM   #2
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
You can convert images with the 'convert' command from the Image Magick package, though I have no idea if it can handle this .fits format. The manpage should tell you. It only converts one file so you'll need a loop

Code:
for f in *.fits; do
        convert $f ${f%.*}.jpg
done
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 11:40 PM
Automator for linux? mike9285 Linux - Software 4 06-25-2005 05:08 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM


All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration