Hi,
Need to extract a string from one file and search the same in other files.
Ex:
I have file1 of hundred lines with no delimiters not even space.
I have 3 more files.
I should get 1 to 10 characters say substring from each line of file1 and search that string in rest of the files and get... (1 Reply)
I have a couple of things I got stuck on
1)
I have a text file containing 25k search string that I need to search against compressed file. I have used this command but somehow it doesn't seems to use all the search terms.
I have put one search string per line in the txt file (I clean up... (2 Replies)
I have these files in a directory. It may have more class than the sample below:
DEPT_CHEM101LEC_D_20110301.DAT
DEPT_CHEM101LAB_D_20110301.DAT
DEPT_BIO105LEC_D_20110325.DAT
DEPT_BIO105LAB_D_20110325.DAT
DEPT_CSC308LEC_D_20110327.DAT
DEPT_CSC308LAB_D_20110327.DAT
Is there way to extract out... (5 Replies)
I have a file on UNIX system from where I want to grep the list of all users associated to the particular repository.If the user's list is in single line then I fetch all list but if it is in two separate lines it doesn't.I use the below command
a=KESTREL-DEV;b=users;cat access_file|grep... (1 Reply)
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
Hello folks,
would like as for your help. I'm downloading list of files which need to be downloaded later.
Via curl I'm getting this output:
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left ... (3 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
I'm interested in writing a report script using BASH that searches all of the files in a particular directory for a keyword and printing a list of files containing this string...
In fact this reporting script would have searches for multiple keywords, so I'm interested in making multiple... (2 Replies)
I have a file comp.pkglist which mention package version and release . In 'version change' and 'release change' line there are two versions 'old' and 'new' Version Change: --> Release Change: -->
cat comp.pkglist
Package list: nss-util-devel-3.28.4-1.el6_9.x86_64
Version Change: 3.28.4 -->... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
LEARN ABOUT DEBIAN
partclone.btrfs
partclone.extfs(8) System Manager's Manual partclone.extfs(8)NAME
partclone.extfs - The utility for clone and restore an etx2/ext3 partition.
SYNOPSIS
partclone.extfs [options]... [MODE] [SOURCE FILE] [OUTPUT FILE]
DESCRIPTION
partclone.extfs is a part of Partclone project for ext2/3 file system. Partclone is a project like the well-known backup utility "Parti-
tion Image" a.k.a partimage. Partclone provide utilities to back up used blocks and design for higher compatibility of the file system
using supported library like e2fslibs.
OPTIONS -o, --output FILE
Output FILE
-O --overwrite FILE
Output FILE, overwriting if exists
-s, --source FILE
Source FILE
-L, --logfile FILE
Log FILE
-c, --clone
Save to the special image format
-r, --restore
Restore from the special image format
-b, --dev-to-dev
Local device to device copy mode
-D, --domain
Create GNU Ddrescue domain log file from source device
--offset_domain=X
Add X (in bytes) to all positions reported in the domain log file
-R, --rescue
Continue after disk read errors
-dX, --debug=X
Set the debug level to X = [0|1|2]
-C, --no_check
Don't check device size and free space
-X, --dialog
Output message as Dialog Format
-I, --ignore_fschk
Ignore filesystem check
--ignore_crc
Ignore crc check error
-F, --force
Force progress
-f, --UI-fresh
Fresh times of progress
-q, --quiet
quiet mode, no progress update
-v, --version
Display partclone version
-h, --help
Display this help
Examples:
clone /dev/hda1 to hda1.img and display debug information.
partclone.extfs -c -d -s /dev/hda1 -o hda1.img
restore /dev/hda1 from hda1.img and display debug information.
partclone.extfs -r -d -s hda1.img -o /dev/hda1
restore image from clonezilla(split, gzip,) with stdin source
cat sda1.ext3-ptcl-img.gz.a* > gunzip -c | partclone.ext3 -d -r -s - -o /dev/sda1
REPORTING BUGS
Report bugs to <thomas@nchc.org.tw>
SUPPORT
You can get support at http://partclone.org
AUTHOR
This manual page was written by Thomas Tsai <thomas@nchc.org.tw>
partclone 0.2.48 Nov 2007 partclone.extfs(8)