Sponsored Content
Top Forums Shell Programming and Scripting Problem scripting a copy and renaming shell executable Post 302932076 by ilovedoritos on Monday 19th of January 2015 02:53:57 AM
Old 01-19-2015
not what you think it's for.

It's not going to be just pictures of letters of text in books but things that bring emotion when you see the picture. No I'm not in school, no homework nothing like that. I'm retired navy. Honorable medical discharge. Anyway I'm going to put the pictures in a time lapse and then I'm going to speed it up till each picture only flashes for about 16 milliseconds. I do tree removal time lapses for my dad's business. I set up my camera to take a picture every 5 seconds for 5 or so hours then we take the tree down and then I turn the pictures into a 1 minute timelapse.
When I do a tree timelapse I put the pictures into the timelapse program and it is a big video 3000 pictures about 20 GB but then I put it through iMovie and speed it up and it's a very small file size. Like 45MB
its an idea/experiment i had 3 days ago, and I'm try to put it together. I just need the script to do the copying and sequentially renaming.

Last edited by ilovedoritos; 01-19-2015 at 04:07 AM.. Reason: I keep thinking of things to add and I found a few typos, don't want to look like an idiot now do we hmm
 

10 More Discussions You Might Find Interesting

1. Programming

Renaming an executable file

HI How to rename an executable file in unix (3 Replies)
Discussion started by: bankpro
3 Replies

2. Shell Programming and Scripting

shell scripting problem

her i am trying to edit a database file which is actually a small file holding my friend's name and birthdays My Database DEEPAK 27/08 DEEPIKA 18/02 DHYAN 23/03 DIPANKAR 24/10 SNIGDHO 19/05 AYANNAR 17/12 BHAI 22/09 DEBAN 16/08 JAGADISH 02/06 SUBHOJIT 23/02 TOJO 17/09 SUDHIR 12/09... (1 Reply)
Discussion started by: mobydick
1 Replies

3. Shell Programming and Scripting

Shell scripting and ls -1 problem

Hey, I'm running knoppix and I'm trying to run a shell script to change multiple lines of text in multiple files #!/bin/sh for i in 'ls-1 test' do sed 's/bob/manny/'g $i > $i.0 mv $i.0 $i done Obviously this isn't the original file, but it's on another non-networked machine. What... (7 Replies)
Discussion started by: afroCluster
7 Replies

4. Shell Programming and Scripting

Shell Scripting problem

Hi guys, I am a newbie to shell scripting.Please help me to accomplish this task. Its very urgent,I should create a script which will do the following: i) "cd ~joseph/ ; mkdir -p Bing/Bong ;mkdir -p Bing/Bang" and then create 15 ".txt" files with content "Bing Bang Bong" in "Bong"... (1 Reply)
Discussion started by: mahesh_raghu
1 Replies

5. Shell Programming and Scripting

Problem in loops in shell scripting

Hi, #!/bin/ksh $v="" for ((i = 1 ; i <= 5 ; i++ )) do v="THerrFile_$i.err"; grep -i "$i:Error" $v >>oraerror_output.txt done My requirement is to dynamically create variable like THerrFile_1.err,THerrFile_2.err etc. where my grep needs... (5 Replies)
Discussion started by: sudhir_83k
5 Replies

6. Homework & Coursework Questions

Shell Scripting Problem...

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! Hello all,,, I am trying to finish my assignment for my CNET class. I am running into 2 problems... First the "Delete a file" (Option 1) When I run this option everything... (5 Replies)
Discussion started by: ozman911
5 Replies

7. Shell Programming and Scripting

Shell Scripting: Copy Files with Today's date

I was wondering the best way about finding files that were created today and copy them to a directory (grep ?). There can be multiple files for todays date or none. I am looking to copy all of the .lis files for todays date. I may need to modify the filename to include todays date but for the... (4 Replies)
Discussion started by: smkremer
4 Replies

8. Shell Programming and Scripting

ksh shell scripting to copy a file

Hi. I am a new Unix admin and I've been tasked to write a ksh script that copies my .profile into my /home directory on all servers. I'm new to this and having a difficult time scripting it. Any ideas? (6 Replies)
Discussion started by: david_tech
6 Replies

9. Emergency UNIX and Linux Support

Need support for a shell scripting problem

Hello all, I am facing a weird issue while executing a code below - #!/bin/bash cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset sh UKBA_publish.sh UKBA 28082015 3 if then echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies

10. Shell Programming and Scripting

Shell scripting problem

Hello. I hava homework for university but i cant do it and i need a little help if someone can help me :) I have to do a linux shell script. Write a script that does the following: 1. Check if there is a directory in / home with myDir name. If not, it creates it. 2. In the directory it... (1 Reply)
Discussion started by: alex4o0o
1 Replies
PCOMPOS(1)						      General Commands Manual							PCOMPOS(1)

NAME
pcompos - composite RADIANCE pictures. SYNOPSIS
pcompos [ -h ][ -x xres ][ -y yres ][ -b r g b ][ -lh h ][ -la ] [ -t min1 ][ +t max1 ][ -l lab ][ =SS ] pic1 x1 y1 .. or pcompos [ -a ncols ][ -s spacing ][ -o x0 y0 ][ options ] pic1 pic2 .. DESCRIPTION
Pcompos arranges and composites RADIANCE pictures and sends the result to the standard output. Each input picture must be accompanied by an anchor point (unless the -a option is used, see below). This anchor point is the usually position of the picture's left lower corner in the final output, but can be changed for individual pictures with an =SS option, where S is one of '-', '+' or '0', indicating the minimum, maximum or center of the image, respectively. (For example, =+- would indicate the anchor is relative to the right lower corner, and =-0 would indicate the anchor is relative to the center of the left edge.) Negative anchor coordinates result in the input being cropped at the origin. By default, the size of the output picture will be just large enough to encompass all the input files. By specifying a smaller dimension using the -x and -y options, input files can be cropped at the upper boundary. Specifying a larger dimension produces a border. The -b option specifies a background color to appear wherever input files do not cover. The default value is black (0 0 0). The -h option may be used to reduce the information header size, which can grow disproportionately after multiple runs of pcompos and/or pcomb(1). If input files overlap, later pictures will overwrite earlier ones. By default, input files are copied unconditionally within the output boundaries. The -t option specifies a lower threshold intensity under which input pixels will not be copied to the output. The +t option specifies an upper threshold. These options are useful for cutting around irregular boundaries in the input. The -l option can be used to specify a label for a specific picture, which will be given a height determined by the -lh option (default 24 pixels) and placed in the upper left corner of the picture. This label is generated by the program psign(1). The -la option instructs pcompos to label each picture automatically by its name. This is particularly useful in conjunction with the -a option for producing a catalog of images (see example below). The -l option may still be used to override the default label for a picture. The -a option can be used to automatically compute anchor points that place successive pictures next to each other in ncols columns. The ordering will place the first picture in the lower left corner, the next just to the right of it, and so on for ncols pictures. Then, the next row up repeats the pattern until all the input pictures have been added to the output. If the pictures are of different size, pcompos will end up leaving some background areas in the output picture. There will also be an unfinished row at the top if the number of pictures is not evenly divided by ncols. The -s N option will cause each image to be separated by at least N pixels. The -o x0 y0 option specifies a nonzero anchor point for the bottom left image. The standard input can be specified with a hyphen ('-'). A command that produces a RADIANCE picture can be given in place of a file by preceeding it with an exclamation point ('!'). EXAMPLE
To put a copyright label at the bottom of a picture: psign Copyright 1987 | pcompos inp.hdr 0 0 +t .5 - 384 64 > out.hdr To make a catalog of images separated by white 10-pixel borders: pcompos -la -a 4 -s 10 -b 1 1 1 dog*.hdr > alldogs.hdr NOTES
Since there is a limit to the number of open files and processes, large collections of images must be created in stages. Even if the sys- tem limit on open files is large, pcompos places an artificial limit of 1024 on the number of open files and/or processes. AUTHOR
Greg Ward SEE ALSO
getinfo(1), pcomb(1), pfilt(1), psign(1), rpict(1) RADIANCE
12/18/97 PCOMPOS(1)
All times are GMT -4. The time now is 09:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy