I have about 11000 files on a hard disk that were generated by copying a directory structure from a dvd. The files are supposed to contain ascii data.
I am unable to read or inspect the contents of several of the files, I receive the error no such file or directory.
I am using cygwin on windows, and JAVA code to read/process the files. I have tried to open the files with textpad binary, but get the message that the file does not exist, after I selected the file from a file open dialog.
The first file that I looked at, fr005.1M was fine.
The rest of the files that I looked at, starting with fr005.1T, do not appear to have any content, but show up with a file size.
Any suggestions on how to determine why there is a file size but no apparent content? Is it possible to extract the ascii data?
Additional information:
Here are some cygwin command outputs to show the situation
Listing of files
file fr005.1M has content as seen from the more command
file fr005.1T doesn't return anything with command more
hexdump (and other binary editors) are unable to find the other files
Hi Guys,
What is the most effecient way to compare the content of 2 seperate files and extract the result of there is a match? We have 2 separate log files and we are trying to find the common errors from the 2 files.
Thanks,
Odogbolu98
:( (3 Replies)
Hi, all
Need some advise on this script
i have some files in a directory, and i need to change the word XX in each files to YY, how can i perform a bulk changes/
thanks in advance for yr sharing (3 Replies)
Hi,
This question may be quite newbish.
I've stored a few files on my Unix system and am wondering how to search for their contents (i.e. I input the keyword and get a list of files with this keyword)
I'd then like to put it on my website (php).
I thought of find and grep, but am not... (19 Replies)
hi
i have a set of files , i need to compare one file content with other file content,
i am using cmp -s abc.1 def.2 , but it is not giving theproper o/p even if the content is different.Please help
thanks
Satya (1 Reply)
I'm trying to combine it using awk but still can't figure it out. Here is the file.
cat file1.txt
Mr Smith
Mr John
Ms Linda
cat file2.txt
No 4 Jln Empat
Kuala Lumpur
No 213 Tmn Bunga
Kedah
No 1 Kampung Bukit
Malaysia
I want to combine this file1 and file2 so the output... (5 Replies)
Hi,
i would like to find 'AppManage' in all files. i have tried the following but it didn't work.
/local/home/mani>grep -iR 'AppManage' *.* - not outcome
/local/home/mani>grep -iR 'AppManage' - this one hangs
thanks (3 Replies)
Hi I have multiple files in a folder and one file which contains a list of files (one on each line). I was to search for a string only within these files and not the whole folder. I need the output to be in the form
File1<tab>string instance 2<tab> string instance 2<tab>string instance 3... (6 Replies)
I have two files in unix environment with similer type of contain:
Example:
File1 File2
Milestone1 Milestone1
Milestone2 Milestone12
Milestone3 Milestone13... (11 Replies)
I am having two files file1&file2.i just want to swap the selected contents btwn two files
#file1
content:
Title:xxxx
Hello Imran
#file2
content:
Title:YYYY
Hello Meeran
i just want only second line in both files should be swapped.The title should remain in the same file.
i just... (5 Replies)
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
Source File
*************
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
LEARN ABOUT DEBIAN
cd-read
CD-READ(1) User Commands CD-READ(1)NAME
cd-read - manual page for cd-read version 0.83
SYNOPSIS
cd-read OPTION...
Reads Information from a CD or CD-image.
DESCRIPTION -a, --access-mode=STRING
Set CD control access mode
-m, --mode=MODE-TYPE
set CD-ROM read mode (audio, auto, m1f1, m1f2, m2mf1, m2f2)
-d, --debug=INT
Set debugging to LEVEL
-x, --hexdump
Show output as a hex dump. The default is a hex dump when output goes to stdout and no hex dump when output is to a file.
-j, --just-hex
Don't display printable chars on hex dump. The default is print chars too.
--no-header
Don't display header and copyright (for regression testing)
--no-hexdump
Don't show output as a hex dump.
-s, --start=INT
Set LBA to start reading from
-e, --end=INT
Set LBA to end reading from
-n, --number=INT
Set number of sectors to read
-b, --bin-file[=FILE]
set "bin" CD-ROM disk image file as source
-c, --cue-file[=FILE]
set "cue" CD-ROM disk image file as source
-i, --input[=FILE]
set source and determine if "bin" image or device
-C, --cdrom-device[=DEVICE]
set CD-ROM device as source
-N, --nrg-file[=FILE]
set Nero CD-ROM disk image file as source
-t, --toc-file[=FILE]
set "TOC" CD-ROM disk image file as source
-o, --output-file=FILE
Output blocks to file rather than give a hexdump.
-V, --version
display version and copyright information and exit
Help options:
-?, --help
Show this help message
--usage
Display brief usage message
AUTHOR
Rocky Bernstein <rocky@gnu.org>
COPYRIGHT
Copyright (C) 2003, 2004, 2005, 2007, 2008, 2011 R. Bernstein
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE. Have driver: GNU/Linux ioctl and MMC driver Have driver: cdrdao (TOC) disk image driver Have driver: bin/cuesheet disk image
driver Have driver: Nero NRG disk image driver Default CD-ROM device: /dev/scd0
SEE ALSO cd-info(1) for information about a CD; cd-drive(1) for CD-ROM characteristics; iso-read(1) for information about an ISO-9660 image.
cd-read version 0.83 October 2011 CD-READ(1)