Hi,
I am new to unix scripting and I need to write a script that accepts a directory name as an argument, and inside the script to go through all the ".dat" files in that directory. For each ".dat" file in the directory, create a control file(.ctl) file containing the associated ".dat" file name... (0 Replies)
Hi Guys,
Is there any way I can execute my bash script on files in a different folder than what the script is in? Here is an excerpt of my script:
#!/usr/bin/bash
input_path="/cygdrive/c/files"
output_path="/cygdrive/c/files/data"
#script uses files from /cygdrive/c/files directory,... (1 Reply)
Hi
I'm trying to call my files from different directories in my script.
Can you please help me.
Here is my script:
#!/bin/bash
#----------------------------------------------------------------------------------------------------------------------
#This script allows the user... (1 Reply)
Script must removes files from the first directory if there is a file with same name in the second directory
Script passed to the two directories, it lies with them in one directory:
sh script_name dir1 dir2
This is my version, but it does not work :wall:
set - $2/*
for i
do
set -... (6 Replies)
hi,
I am having script in which i want to check if directory has any file in it or not. If directory contains a single or more files then and only then it should proceed to further operations...
P.S.: Directory might have thousand number of files. so there might be chance of getting error... (4 Replies)
Hi Folks,
There is a job which generates a .zip files every day at /usr/app/generated directory , now please advise for the script that will delete this zip files permanently.but while deleting it should make sure that it will not delete the last two days recently generated zip files and this... (1 Reply)
Hi,
Could you please assist how to move the gz files which are older than the 90 days from one folder to another folder ,before that it need to check the file system named "nfs" if size is less than 90 or not. If size is above 90 then it shouldn't perform file move and exit the script throwing... (4 Replies)
Hello Folks,
Looking for a script which can keep doing ls to the directories and once file landed to the directory then ,read the files do further calculation and exit.
Kindly guide.
Regards,
Sadique (3 Replies)
Discussion started by: sadique.manzar
3 Replies
LEARN ABOUT DEBIAN
pfsoutffmpeg
pfsoutffmpeg(1) General Commands Manual pfsoutffmpeg(1)NAME
pfsoutffmpeg - Read pfs frames from stdin and forward them to ffmpeg program
SYNOPSIS
pfsoutffmpeg [--help] <ffmpeg options> output_file
DESCRIPTION
This command is a wrapper for ffmpeg program and can be used to write pfs frames to a compressed video.
Check the examples section to for sample usage and see manual of ffmpeg for further information.
Note that the usage of '-f' switch (input format specifier) and '-i' switch (input file specifier) of the ffmpeg program is implemented
inside the script and is therefore not allowed.
EXAMPLES
pfsinrgbe frame%04d.hdr --frames 100:2:200 | pfstmo_reinhard02 -s
| pfsgamma -g 1.7 | pfsoutffmpeg -qscale 4 test.avi
1. Read HDR frames in RGBE format with the following names:
frame0100.hdr, frame0102.hdr, frame0104.hdr,... frame0200.hdr
2. Apply local tone mapping operator to each frame (Reinhard2002
model, part of the PFSTMO package)
3. Apply gamma correction to each tone mapped frame
4. Compress frames to test.avi animation
SEE ALSO ffmpeg(1)pfsin(1)pfstmo_reinhard02(1)pfsgamma(1)BUGS
Frames smaller than 512x384 can cause broken pipe error, due to bug in ppm pipe reading routine in ffmpeg.
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de> or Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>.
pfsoutffmpeg(1)