Welcome to iraf.net Friday, May 17 2024 @ 08:01 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Move images in lists
   
AnTaR3s
 08/05/2010 10:01AM (Read 1510 times)  
+++--
Chatty

Status: offline


Registered: 10/24/2009
Posts: 58
HeyI know I can move images with bash commands and use imcopy to copy images with certain parameters, but is there a way to combine these?The data-sets I have to work on are a mess...so I created a script which automatically copies the correct fits-extension and sorts the images by Filter. But there is a flaw in the script: I have to copy the images twice (1: copy the fits-extensions in a single file, 2: copy the files in directories sorted by filter), because I use imcopy! It would be much faster if the last step would be a "move"-operation.So...is there a way or a package in IRAF which lets me actually move (not copy) images which are listed in a file? Maybe a bash command can do this as well?cheers

 
Profile Email
 Quote
fitz
 08/05/2010 10:01AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Maybe I'm not quite understanding what you're trying to do, but doesn't the iraf MOVE or IMRENAME task do what you want? Both accept a directory name as the output argument.

 
Profile Email
 Quote
AnTaR3s
 08/05/2010 10:01AM  
+++--
Chatty

Status: offline


Registered: 10/24/2009
Posts: 58
Nice!Exactly what I was looking for!thanks Smile

 
Profile Email
 Quote
   
Content generated in: 0.10 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login