9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm wanting to write a bourne shell script that takes in two command line arguments - a directory and a file. With this I want to return a list of files within the directory that are older (based on creation date) than the given file, and print the number of files that have not been listed (they... (4 Replies)
Discussion started by: britty4
4 Replies
2. Shell Programming and Scripting
Can someone draw up a script that for every file, folder and subfolder and files that will copy the creation date over top of the modified date??
I know how to touch every file recursively, but no idea how to read a files creation date then use that to touch the modification date of that file,... (3 Replies)
Discussion started by: toysareforboys
3 Replies
3. UNIX for Dummies Questions & Answers
Hi
I am unable to find files, those are present anywhere in the same directory tree, based on the creation date. I need to find the files with their path, as I need to create them in another location and move them. I need some help with a script that may do the job.
Please help (2 Replies)
Discussion started by: sam192837465
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
<Re-posting in Correct group>
I'm trying to select all the files in a folder that starts with a particular name format and are created in a gven date range using 'ls' command...but i'm not successful....
Example : I'm trying to see all the text files in a folder who names start... (6 Replies)
Discussion started by: Satya C1
6 Replies
5. Shell Programming and Scripting
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
Discussion started by: dsfreddie
3 Replies
6. Programming
Hai all,
Can anyone explain me about how to add an user defined tag in an mp3 file using MP3::Tag module in perl? (0 Replies)
Discussion started by: thillai_selvan
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
How can I move directories (and all sub directories/files) from one directory to another based on the modified date of the directory?
Currently the existing structure looks like this:
/public_html/media/videos/tmb/34947/image1.jpg
/public_html/media/videos/tmb/34947/image2.jpg
... (0 Replies)
Discussion started by: lbargers
0 Replies
8. Shell Programming and Scripting
I am trying to rename files based on the created/born date of the file. I Have a total of 4000 files that i am trying to do this with and would like it to be log_yyyymmddhh.gz right now the files are maillog.???.gz.
Can anyone point me in the right direction of how to get this done via scipt?
... (4 Replies)
Discussion started by: Paulb
4 Replies
9. UNIX for Dummies Questions & Answers
Howdy,
I'm trying to figure out how to move multiple files based on their creation date. If anyone can enlighten me it would be most appreciated!!
Thanks!
:D (1 Reply)
Discussion started by: dgoyea
1 Replies
tagmp3(1) User manual tagmp3(1)
NAME
tagmp3 - manipulate ID3v1 tags
SYNOPSIS
tagmp3 [ -n ] mode [ format ] [ file ] ...
DESCRIPTION
tagmp3 allows you to set and remove ID3v1 tags from mp3 files. Additionaly move mode can be used to move mp3 files according to their ID3v1
tag. An ID3v1 tag is a chunk of extra informations such as artist name, album and genre. ID3v1 tags are displayed by most mp3 players.
MODE
show show file's ID3v1 tag.
set sets file's ID3v1 tag according to format.
move move file to a destination based on FORMAT.
del remove file's ID3v1 tag if any.
list displays numeric music genres along with their meaning.
-h print a (not so) short help message.
-v print version and exit.
OPTIONS
-n Show what will be done, don't alter any file.
FORMAT STRING
The format string is a character string composed of zero or more directives: ordinary characters (not %), which are not interpreted and
conversion specifications, each of which results in the corresponding ID3v1 tag field substitution. Each conversion specification is
introduced by the character %. The following lines describes each conversion specification along with its associated ID3v1 field. Special
sequence %% is substituted with a single %.
%A Artist Name
%a Album Name
%t Song Title
%T Track Number
%y Year
%g Genre
%c Comments
format string for set mode
For set mode the format string is a list of ID3v1 fields followed by a ':' (next chars are the field value) or a '?' (ask user for field
value)
example: tagmp3 set "%A:Pink Floyd %a:The Wall %t? %T?" *.mp3
For each mp3 of this directory, sets the artist name to Pink Floyd and the album to The Wall. For each file ask for the title and
the track number. Leave the other fields untouched. Be aware that genre field require a numeric value. Known genres can be dis-
played with the list mode.
format string for move mode
The format string is the destination path where each field identifier is substituted with the tag value.
example: tagmp3 move "/home/foo/mp3/%A/%a/%T-%t.mp3" *.mp3
with the set example above will move all mp3 to "/home/foo/mp3/Pink Floyd/The Wall/{track}-{title}.mp3"
If you prefer the "flat" naming scheme, you will use something like
tagmp3 move "%A-%t.mp3" *.mp3
NOTES
move mode never overwrite files.
move mode creates intermediate directories specified in the format string. Each directory creation is to be confirmed by the user.
ID3v2 tags are not supported so far.
If a file can't be moved ( wrong file type, ID3v1 tag absent or blank field , ...) then it is left untouched.
Fake mp3 (i.e. Wave file with .mp3 extension) are moved into "fake-mp3/" directory in move mode. set mode refuses to tag them since this
would add noisy artifact at the end of the song.
BUGS
Plenty of :)
For move mode, source and destination must reside on the same file system / partition.
AUTHOR
Laurent Alacoque <laureck@users.sourceforge.net> CopyLeft 2001
Bugs, patch, infos, new releases, girls, money go to :
http://mpgtx.sourceforge.net/
Linux APRIL 2001 tagmp3(1)