Sponsored Content
Top Forums Shell Programming and Scripting Create several files from one Post 303026606 by tricampeon81 on Friday 30th of November 2018 10:36:29 AM
Old 11-30-2018
I need to split a file just that
if I have 10 records in a file I need to generate 10 files with 1 record each file
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Trying to create files from a file

Hello to everyone, I am new to UNIX and I am having a problem. I have a file full of information, and need to create diferent files. I have to split the file whenever I find a sentence in the original one. This sentence is always the same (JOB ^....). As you can see I need to read a file, and... (5 Replies)
Discussion started by: jordimirobruix
5 Replies

2. UNIX for Dummies Questions & Answers

How to compare several files and create a new one

Hello, I have a few files with simple data on them. All of the files may contain the same and different data. I need to create a new file that contains data that is on all files at the same time. Let say if word "ffffffff" is on all files it must be in the new file. If word "kkkkkkk" is not on... (1 Reply)
Discussion started by: alxkn
1 Replies

3. UNIX for Dummies Questions & Answers

on how to create files

hi guys! i want my user to create some new files in a directory: i would like the user to choose a file name and then to create some kind of user friendly utility that makes my user write what he/she wants in the file and then save it in the chosen directory. let's say that in my programme i... (2 Replies)
Discussion started by: fiol73
2 Replies

4. Shell Programming and Scripting

Create files with one command

I whant a create some files in the certain range. For example, begin 8811 and finishing 8878 I know one good decision touch 88{11,12,13,14,15,16,...,...,78} I try touch 88, but i don't have results :( Bash create file with name 88 :) But it very long command :( I wanna create it easy ... (6 Replies)
Discussion started by: jess_t03
6 Replies

5. UNIX for Dummies Questions & Answers

Create individual tgz files from a set of files

Hello I have a ton of files in a directory of the format app.log.2008-04-04 I'd like to run a command that would archive each of these files as app.log.2008-04-04.tgz I tried a few combinations of find with xargs etc but no luck. Thanks Amit (4 Replies)
Discussion started by: amitg
4 Replies

6. Shell Programming and Scripting

How to create zip/gz/tar files for if the files are older than particular days in UNIX or Linux?

I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also? I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies

7. Shell Programming and Scripting

Create multiple zip files each containing 50 xml files.

Hi, Is there a direct command or need to write a shell script for following requirement? Everyday a folder is populated with approx 25k to 30k xml files. I need to create multiple zip files in the same folder each containing 50 xml files. The last zip file may or may not contain 50 xml files.... (6 Replies)
Discussion started by: Rakesh Thobula
6 Replies

8. Shell Programming and Scripting

How to create or convert to pdf files from csv files using shell script?

Hi, Can anyone help me how to convert a .csv file to a .pdf file using shell script Thanks (2 Replies)
Discussion started by: ssk250
2 Replies

9. Shell Programming and Scripting

Can I create 3 files in one command

Hi Gurus, I need to separate a file to 3 (based on column 1 value). I have code like below. it works. awk -F"|" '$1=="H" {print $0}' ${filename} > ${hea_name} awk -F"|" '$1=="D" {print $0}' ${filename} > ${det_name} awk -F"|" '$1=="T" {print $0}' ${filename} > ${tra_name} is it possible... (7 Replies)
Discussion started by: ken6503
7 Replies
DBSWISS(1)							   User Commands							DBSWISS(1)

NAME
dbSwiss - create DBM version of Swiss-Prot data SYNOPSIS
/usr/share/librg-utils-perl/dbSwiss [OPTIONS] /usr/share/librg-utils-perl/dbSwiss --datadir /data/swissprot --infile /data/swissprot/uniprot_sprot.dat /usr/share/librg-utils-perl/dbSwiss [--help] [--man] DESCRIPTION
dbSwiss creates DBM version of Swiss-Prot data. This procedure is to replace splitSwiss.pl. splitSwiss.pl saves Swiss-Prot records in separate files resulting in over 13 million relatively tiny files that take very long to create and rsync. dbSwiss instead saves each record into a DBM database that is optimized for fast retrieval. OPTIONS
-d, --datadir=path directory of database files, default: '/mnt/project/rost_db/data/swissprot' --debug --nodebug --first20 --nofirst20 process only first 20 records, for debugging --help -i, --infile=path Swiss-Prot data flatfile, default: '/mnt/project/rost_db/data/swissprot/uniprot_sprot.dat'. --man --quiet --noquiet do not print progress status --readback --noreadback read records back after storing and print them --table name of database table and consequently the base name of database files, default: 'dbswiss' --version -w, --workdir=path Optional working directory. Automatically created and removed if not defined. AUTHOR
Laszlo Kajan <lkajan@rostlab.org> 1.0.43 2011-11-28 DBSWISS(1)
All times are GMT -4. The time now is 11:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy