01-21-2010
Sounds suspiciously like homework, especially the part about "in the order they were created". What you've got so far?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Discussion started by: pharos467
1 Replies
2. Shell Programming and Scripting
Hi,
On the server, we have app log files in this location /app/logs/error.log
On the same server, in a real time, we would like to replicate that into /var/ directory.
if someone has already done this, please share the script.
Thanks in advance. (4 Replies)
Discussion started by: lookinginfo
4 Replies
3. Shell Programming and Scripting
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies
4. UNIX for Dummies Questions & Answers
:EDIT:
I think my post name should have been labeled: how to copy files and record original file location. not "retain".
Hello, this is my first post! I searched the forums a lot before posting, but was unable to answer my question.
Here's my problem:
There are several hundred text files... (4 Replies)
Discussion started by: willie8605
4 Replies
5. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
6. Shell Programming and Scripting
Hi Gurus,
I am a newbie to shell scripting and I am facing a problem right now.I have to automate the copy of files based on a priority.The scenario is as below:
1) There will be files from Mon-Fri with Mon file being named as abc_def_01_YYYYMMDD and Tue file being abc_def_02_YYYYMMDD and so... (4 Replies)
Discussion started by: vikramgk9
4 Replies
7. Shell Programming and Scripting
I have below files in one location /test/files and also for each dates there are similar files
A20130924.0000-0005_file1
A20130924.0000-0005_file2
A20130924.0005-0010_file1
A20130924.0005-0010_file2
.
.
.
A20130924.2355-0000_file1
A20130924.2355-0000_file2
If i execute the script like... (4 Replies)
Discussion started by: Saidul
4 Replies
8. Shell Programming and Scripting
Hello Experts,
I need to copy files from one location to another using xargs.
Tried something like this (In Ubuntu & Solaris ).
mkdir -p 1234;
find /home/emd/Desktop/n007/M007/ -type f -name "A2014*" | xargs -0 cp -r {} /home/emd/Desktop/1234
But every time i run this, a weird error... (6 Replies)
Discussion started by: Saidul
6 Replies
9. Shell Programming and Scripting
Hi All,
i'm trying to copy the 1.txt files (sample files) in to different path location using the below command.
But it is not copying the files , when i tried for single location able to copy the file.
can any one please assist here.
Please find the below path :-
/ckr_mkr1/licencekey... (2 Replies)
Discussion started by: venkat918
2 Replies
10. UNIX for Beginners Questions & Answers
Hello everyone, Im super new to coding but increasingly in need of it at work. Im have task stacked because of this problems, that I cannot figure out how to solve looking on the internet after trying many many things that looked similar to me.
I have multiple data files of the form (see below).... (2 Replies)
Discussion started by: Xfiles_fan
2 Replies
LEARN ABOUT DEBIAN
numm.getting-started
getting-started(7) Numm Tutorials getting-started(7)
NAME
getting started - numm installation and usage
SYNOPSIS
numm-run FILE
import numm
DESCRIPTION
numm is a python library -- the bastard child of Processing.org and MATLAB, if you will -- that fuses python, numpy, and gstreamer together
to create a numerical-computing environment for multimedia generation, analysis, and interaction.
Installation
A Debian package is provided for ease of installation on Debian and derivative operating systems, such as Ubuntu; we recommend you abandon
alternative systems and install Debian, but in the interim direct your attention to virtualization software such as VirtualBox.
The following command downloads and installs numm:
% wget http://numm.org/numm/releases/python-numm_0.1-1_all.deb
% sudo dpkg -i python-numm_0.1-1_all.deb
Usage
At its simplest, numm provides three pairs of invertable functions that connect common media formats with numpy:
Images represented as (height, width, color) numpy.uint8 arrays.
o image2np(path) -> np
o np2image(np, path)
Sounds as (frames, channels) numpy.int16s
o sound2np(path) -> np
o np2sound(np, path) # XXX: must be .wav
Videos as (frames, height, width, color) numpy.uint8s
o video2np(path) -> np
o np2video(np, path) # XXX: must be .mkv
For rapid-prototyping of interactive numpy-based audio-visual experiments, the numm package has a real-time mode. The numm package
installs a program named numm-run, which launches (and reloads on modification) python scripts that may implement any subset of the follow-
ing functions, which are asynchronously called as needed:
o video_in(a) # webcam
o video_out(a) # mutate a in-place to set video
o audio_in(a) # mic
o audio_out(a) # mutate a for audio output
o mouse_in(type, px, py, button)
o keyboard_in(type, key)
SEE ALSO
numm-run(1), numm.one-bit-instrument(7), numm.spectral-analysis(7)
numm February 2012 getting-started(7)