|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi all i made an image of an audio cd dd if=-/dev/disk1 of=/home/
Afterhours Then i tried to mount it and view the inside files but no way. So is there a awk command or shell to view what's inside an image? Thanks in advance |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 13 Nov., 08:19, franzi <hazz...@gmail.com> wrote:
> Hi all i made an image of an audio cd dd if=-/dev/disk1 of=/home/ Is that '-' as part of the input file path intentional? > Afterhours > Then i tried to mount it and view the inside files but no way. If you create an output file you need not mount the output file, it should be readable. > So is there a awk command or shell to view what's inside an image? > Thanks in advance Do you want to read/mount the device or the file? Janis |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
franzi <hazzino@gmail.com> writes:
> So is there a awk command or shell to view what's inside an image? awk is very good at looking for patterns in ASCII. Do you expect to see ASCII information inside a wave file? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 13 Nov, 12:31, Maxwell Lol <nos...@com.invalid> wrote:
> franzi <hazz...@gmail.com> writes: > > So is there a awk command or shell to view what's inside an image? > > awk is very good at looking for patterns in ASCII. > Do you expect to see ASCII information inside a wave file? at the beginning of the file yes |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On 13 Nov, 08:31, Janis <janis_papanag...@hotmail.com> wrote:
> On 13 Nov., 08:19, franzi <hazz...@gmail.com> wrote: > > > Hi all i made an image of an audio cd dd if=-/dev/disk1 of=/home/ > > Is that '-' as part of the input file path intentional? > > > Afterhours > > Then i tried to mount it and view the inside files but no way. > > If you create an output file you need not mount the output file, it > should be readable. > > > So is there a awk command or shell to view what's inside an image? > > Thanks in advance > > Do you want to read/mount the device or the file? > > Janis just the files |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
franzi wrote:
> On 13 Nov, 08:31, Janis <janis_papanag...@hotmail.com> wrote: > >>On 13 Nov., 08:19, franzi <hazz...@gmail.com> wrote: >> >> >>>Hi all i made an image of an audio cd dd if=-/dev/disk1 of=/home/ >> >>Is that '-' as part of the input file path intentional? >> >> >>>Afterhours >>>Then i tried to mount it and view the inside files but no way. >> >>If you create an output file you need not mount the output file, it >>should be readable. >> >> >>>So is there a awk command or shell to view what's inside an image? >>>Thanks in advance >> >>Do you want to read/mount the device or the file? >> >>Janis > > just the files > Use the strings(1) command to extract text from binaries, or use any editor (like vim) that won't complain about displaying binary files. Janis |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On 2007-11-13, franzi wrote:
> > > Hi all i made an image of an audio cd dd if=-/dev/disk1 of=/home/ > Afterhours > Then i tried to mount it and view the inside files but no way. > So is there a awk command or shell to view what's inside an image? You can print ASCII strings from a binary file with the 'strings' command. -- Chris F.A. Johnson, author <http://cfaj.freeshell.org/shell/> Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) ===== My code in this post, if any, assumes the POSIX locale ===== and is released under the GNU General Public Licence |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
franzi <hazzino@gmail.com> writes:
> On 13 Nov, 12:31, Maxwell Lol <nos...@com.invalid> wrote: > > franzi <hazz...@gmail.com> writes: > > > So is there a awk command or shell to view what's inside an image? > > > > awk is very good at looking for patterns in ASCII. > > Do you expect to see ASCII information inside a wave file? > > at the beginning of the file yes It might be easier to just type file xxx.wav I get something like: xxx.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On 2007-11-13, franzi <hazzino@gmail.com> wrote:
> Hi all i made an image of an audio cd dd if=-/dev/disk1 of=/home/ > Afterhours > Then i tried to mount it and view the inside files but no way. > So is there a awk command or shell to view what's inside an image? > Thanks in advance > There are no standard Unix commands for this, but your system might have commands to rip files from an audio cd. Try "apropos audio". |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
On 13 Nov, 20:11, Bill Marcum <marcumb...@bellsouth.net> wrote:
> On 2007-11-13, franzi <hazz...@gmail.com> wrote:> Hi all i made an image of an audio cd dd if=-/dev/disk1 of=/home/ > > Afterhours > > Then i tried to mount it and view the inside files but no way. > > So is there a awk command or shell to view what's inside an image? > > Thanks in advance > > There are no standard Unix commands for this, but your system might have > commands to rip files from an audio cd. Try "apropos audio". Thanks to all |
|
![]() |
| Outils de la discussion | |
|
|