Sponsored Content
Top Forums UNIX for Dummies Questions & Answers using gsed with cp to sort files in directory - every N file copy to new place Post 302563992 by dgoss on Wednesday 12th of October 2011 02:32:15 PM
Old 10-12-2011
ok, good to know. this was an input of about 750 files, outputting 250 and from what I can tell at first glance seems to have worked well. I'll keep an eye on it. Thank you again for the help and lesson.
 

10 More Discussions You Might Find Interesting

1. Solaris

Copy files from the file to another directory

I have created a file that has list of all the files I want to copy into another directory.Is there a way to do it? Thanks In advance (4 Replies)
Discussion started by: shreethik
4 Replies

2. AIX

loop through the directory for files and sort by date and process the first file

hello i have a requirement where i have a direcotry in which i get files in the format STOCKS.20080114.dat STOCKS.20080115.dat STOCKS.20080117.dat STOCKS.20080118.dat i need to loop through the directory and sort by create date descending order and i need to process the first file. ... (1 Reply)
Discussion started by: dsdev_123
1 Replies

3. Solaris

What is the best way to copy data from place to another place?

Dear Gurus, I need you to advice or suggestion about the best solution to copy data around 200-300G from serverA(location A) to serverB(location B). Normally, I will share folder and then copy but it takes too long time(about 2 days). Do you have any suggestion or which way should be... (9 Replies)
Discussion started by: unitipon
9 Replies

4. UNIX for Dummies Questions & Answers

Copy dir/file from one place to another.

Hello all. I'm not getting the hang of Paths. I have a dir w/files that I want to copy to another dir. Right now I am in the "source" directory. I want to copy it to Ch7. "cp -r source Ch7". Ch7 was already created. 1st msg.: cannot stat `source`: No such file or dir. I typed pwd & got... (3 Replies)
Discussion started by: Ccccc
3 Replies

5. UNIX for Dummies Questions & Answers

regularly copy files to different directory with different file extentions

I have a NAS and I upload my videos to it from time to time. the video format is 3gp but my media player PBO could only play avi. I want to copy these files to different directory and change the extention from 3gp to avi. (yes I want to keep the original version and create a duplicate version with... (0 Replies)
Discussion started by: momentum
0 Replies

6. Shell Programming and Scripting

Copy files listed in text file to new directory

I am trying to write a script that will copy all file listed in a text file (100s of file names) to a new directory Assume script will run with main as current working directory and I know how many files/lines will be in List.txt Im trying to work up a test script using this model Contents of... (2 Replies)
Discussion started by: IAmTheGrass
2 Replies

7. Shell Programming and Scripting

Copy the files in directory and sub folders as it is to another directory.

How to copy files from one directory to another directory with the subfolders copied. If i have folder1/sub1/sub2/* it needs to copy files to folder2/sub1/sub2/*. I do not want to create sub folders in folder2. Can copy command create them automatically? I tried cp -a and cp -R but did... (4 Replies)
Discussion started by: santosh2626
4 Replies

8. UNIX for Dummies Questions & Answers

How to search for a file having a particular character in a particular place in a directory.?

Hi Guys, I want to search for a specific file in a directory which have a "b" letter as the 3rd character in the name of the file. For Example : /abc/efg/ldbjfblkj.sh /abc/efg/erublkd.sh /abc/efg/eibueora.sh /abc/efg/kfvnmnb.sh Since we have 2 files with "b" as a 3rd character in... (5 Replies)
Discussion started by: Pramod_009
5 Replies

9. Shell Programming and Scripting

Search for a file in all directories and place the file in that directory

Hi All, Daily I am getting the updated file. I have to search for this file in all directories and sub directories. If the file existed in a particular directory then move this updated file to that particular directory. If the file is not existed in any of the directories then place this... (4 Replies)
Discussion started by: ROCK_PLSQL
4 Replies

10. UNIX for Beginners Questions & Answers

How do I custom sort the files in a directory using the filenames in a text file.?

Hi all, (5 Replies)
Discussion started by: KMusunuru
5 Replies
SMDIAG(8)						     Linux Programmer's Manual							 SMDIAG(8)

NAME
smdiag - Linux soundcard packet radio modem driver diagnostics utility SYNOPSIS
smdiag [-i device] [-d display] [ -ce ] DESCRIPTION
smdiag may help to adjust the audio levels of the soundcard modem driver, as well as to control the quality of the radio link. It may either display an oscilloscope like view of the input signal, or display an eye diagram. The display may be gated with DCD, i.e. only updated if the modem detects a data carrier. OPTIONS
smdiag accepts the following options: -i The device argument specifies the soundcard modem device which should be configured or interrogated. It will usually have the fol- lowing form: sm[0-3]. -d sets the address of the X server to display the window. -h display an overview of the available command line parameters and exit. -c toggle the carrier gating of the display. -e display an eye diagram (overlay of the synchronized demodulator output) instead of an oscilloscope view of the input signal. KEYS
C clears the window D toggles the DCD gating. E displays an eye diagram I displays the input signal Q quits smdiag BUGS
smdiag Reacts sluggishly to keypresses. The window size is fixed. For speed reasons, two square root operations per sample are not imple- mented in the AFSK 1200 baud modes. The eye diagram for the AFSK 1200 baud mode is therefore distorted. SEE ALSO
smmixer (8), sethdlc (8), linux/drivers/net/soundmodem.c AUTHOR
smdiag was written by Thomas Sailer (t.sailer@alumni.ethz.ch). Smdiag 0.1 1 October 1996 SMDIAG(8)
All times are GMT -4. The time now is 10:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy