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
PYTAGS(1) [FIXME: manual] PYTAGS(1)
NAME
pytags - set and remove tags on media files from filename and options
SYNOPSIS
pytags [OPTIONS] file [file...]
DESCRIPTION
pytags is a simple, general-purpose tool for setting and removing media file tags. With no options, pytags prints a tag summary for all
files specified on the command line. Options can be used to set and remove tags on files.
Using --format, it is easy to change or create tags on by parsing metadata from filenames according to an arbitrary format string. This
makes it simple to tag files that are consistently named.
Additionally, tags can be manipulated directly with the --add, --set, and --remove options. These options are processed in order, so
options specified later on the command-line may cause values set by earlier options to be overwritten. These options must appear after the
--format, if it is used.
OPTIONS
--add=EXPR
Append a tag value all files according to EXPR. EXPR should be an expression like "artist=Foo". May be specified multiple times to add
multiple values.
--format=FORMAT
Tag files with metadata extrapolated from filenames using format string FORMAT; see the section called "FORMAT STRINGS". This option
must be specified before --add, --set, or --remove.
--set=EXPR
Set a single tag on all files according to EXPR. EXPR should be an expression like "artist=Foo". May be specified multiple times to set
multiple tags. --set cannot be used to specify multiple values for a single tag. To do that, use --remove followed by multiple --add
options.
--remove=TAG
Remove tags named TAG. May be specified more than once to remove multiple tags.
-h, --help
Show summary of options and exit.
-v, --version
Show version of program and exit.
FORMAT STRINGS
The format string expected by --format is the same as that for pytagsfs. See the pytagsfs manual page for more information.
EXAMPLES
Remove the genre tag from all .ogg files in the current directory.
$ pytags --remove genre *.ogg
Set the artist and album tag on all .mp3 files, and remove the genre tag.
$ pytags --set artist=Foo --set album=Bar --remove genre *.mp3
Tag all of the .flac files in the current directory. All such files are assumed to be in the format "tracknum artist - trackname
[album].flac".
$ pytags --format '%n %a - %t [%l].flac' *.flac
BUGS
Please report bugs on launchpad at http://launchpad.net/products/pytagsfs/+bugs.
pytags relies on mutagen (the underlying Python tags library) to choose an appropriate tag format for the files being tagged. This cannot
currently be overridden.
SEE ALSO
pytagsfs(1)
AUTHOR
Forest Bond
Author.
COPYRIGHT
Copyright (C) 2007, 2008, 2009
[FIXME: source] 2009-12-04 PYTAGS(1)