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
fakenect-record
FAKENECT-RECORD(1) libfreenect manual FAKENECT-RECORD(1)NAME
fakenect-record - program to save dumps from kinect to file
SYNOPSIS
fakenect-record [-h] [-ffmpeg] [-ffmpeg-opts options] outputdir
DESCRIPTION
fakenect-record dumps the output of the kinect in outputdir folder. It saves the acceleration, depth, and rgb data as individual files with
names in the form "TYPE-CURRENTIME-TIMESTAMP" where:
* TYPE is either (a)ccel, (d)epth, or (r)gb
* TIMESTAMP corresponds to the timestamp associated with the observation (or in the case of accel, the last timestamp seen)
* CURRENTTIME corresponds to a floating point version of the time in seconds.
The purpose of storing the current time is so that delays can be recreated exactly as they occurred. For RGB and DEPTH the dump is just
the entirety of the data provided in PPM and PGM formats respectively (just a 1 line header above the raw dump). For ACCEL, the dump is
the "freenect_raw_tilt_state". Only the front part of the file name is used, with the rest left undefined (extension, extra info, etc).
A file called INDEX.txt is also output with all of the filenames local to that directory to simplify the format (e.g., no need to read the
directory structure).
Once started, the program will continue to acquire data from the kinect. When you want to stop it, hit Ctrl-C and the signal will be
caught, runloop stopped, and everything will be stored cleanly.
OPTIONS -ffmpeg
If present, send the the video stream to ffmpeg
-ffmpeg-opts options
When using ffmpeg, specify the options to be used with it. If unspecified, it will use the options "-aspect 4:3 -r 20 -vcodec
msmpeg4 -b 30000k"
-h Display the command-line help
SEE ALSO fakenect(1)OpenKinect 2012-05-21 FAKENECT-RECORD(1)