Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-05-2007, 05:46 PM   #1
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
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
Old 04-06-2007, 11:55 PM   #3
LQ Newbie
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:29 AM.

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