LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 06: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, 06: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,605

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-07-2007, 12:55 AM   #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, 02:52 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

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


Reply


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 11:45 AM
ID3 Tag editor? diam0nd Linux - Software 5 06-09-2006 03:24 PM
Python ID3 Tag Editor MCD_Thom Linux - General 2 10-12-2005 10:35 AM
id3 tag edit rksprst Linux - Software 4 01-24-2005 06:53 PM
ID3 tag progam Bomb187 Linux - Software 3 03-18-2004 05:57 PM


All times are GMT -5. The time now is 11:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration