LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2007, 05:46 PM   #1
fstephens
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Save last 128 bytes of a file


I am trying to find an easy way to save the ID3 tag from a file and then add it back after clipping the end of the file (that part I have working). I thought the dd command might do the saving, but I see no convenient way to get only the last 128 bytes without knowing the file length. I was just going to use cat to merge the saved tag with the clipped audio file. Testing this seems to work.

I am doing this in a shell script. Any of the tag editors I have looked at don't seem to make this easy either.
Any one have any ideas?

I know this won't work with the v2 tags that are at the beginning of the file, but that is another problem.
 
Old 04-06-2007, 05:34 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
welcome to LQ
You posted in wrong thread, so will ask a moderator to split the thread, just wait

see easytage or mp3info
http://www.linuxlinks.com/Software/M...ools/ID3_Tags/
 
Old 04-06-2007, 11:55 PM   #3
fstephens
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Sorry.
And thanks for the link. Lots of resources, though I figured out how to do it with dd.
 
Old 04-07-2007, 01:52 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moderator note: The posts have been moved to a separate thread.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MP3 ID3 Tag/Meta Data heri0n Linux - Software 2 08-28-2006 10:45 AM
ID3 Tag editor? diam0nd Linux - Software 5 06-09-2006 02:24 PM
Python ID3 Tag Editor MCD_Thom Linux - General 2 10-12-2005 09:35 AM
id3 tag edit rksprst Linux - Software 4 01-24-2005 05:53 PM
ID3 tag progam Bomb187 Linux - Software 3 03-18-2004 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration