in Bash i'm trying to rename directories full of files. the file name pretty much stays the same except for the numerical prefix which will be the same for all files. so, i want to rename these...
45-body.php
45-header.php
45-footer.php
etc.
to...
46-body.php
46-header.php... (2 Replies)
Hi all -
I'm trying to rename a large number of files all at once and need some help figuring out the command line syntax to do it. I've already done quite a bit of research with the rename and mv commands, but so far haven't found a solution that seems to work for me. So:
The files exist... (10 Replies)
Hello all, thanks for your time (and this forum, what an awesome resource for newbs like myself!)
Anyways, I've been given the task of importing content from a directory of about...7000 HTML files. They are all named appropriately and broken down by name depending on what book they belong too.... (8 Replies)
hi i have a folder full of files. some of the names are quite off because the dimensions were the same and i had to put a 'b' after the initial number so that it didnt overwrite. what i want is a script in unix to overwrite the filwe name leaving some of the title intact, e.g. below are some... (3 Replies)
Hi all,
Wondering how this could be accomplished........
a directory contains sequentially numbered files from fw01 to fw999.
How would I insert an additional zero so that the directory lists these files in a proper manner?
(i.e. all double digit files from fw01 to fw99 would become... (3 Replies)
I have some 50+ files in the following format :
abcd_vish_running_ZEBRA_20140818.dat_08-14-2014_23:08:23
abcd_vish_running_ZEB-RA_20140818.dat_08-14-2014_23:08:35
abcd_vish_running_ZEB_RA_20140818.dat_08-14-2014_23:08:37
abcd_vish_running_RI-NG_20140818.dat_08-14-2014_23:08:42... (5 Replies)
Hi guys,
I need a script to change the file names e.g.:-
below are the mentioned files, i want t0 change the last character of the name 00000.cdr with e.g bep01.smsc.191214210500-00000.cdr to bep01.smsc.191214210500-92311.cdr next file be like bep01.smsc.191214210500-92312.cdr
# ls -ltr... (9 Replies)
I have a .ksh script that creates an sftp batch file and runs it through sftp. It works except for one thing. If I try to "put" to a different name, it doesn't use the specified remote name...it still "puts" the original local name.
I've tried both of these, and neither work...it will always... (4 Replies)
What is wrong with this script to rename batch of similar files? For example renaming all *.txt files to *.tab .
$ for i in seq {01..10}; do touch ${i}.txt; done
$ ./rename.sh *.txt txt tab
Error:
mv: ‘01.txt’ and ‘01.txt’ are the same file.
Code is:
#!/usr/bin/bash
# renames.sh
#... (6 Replies)
I wish to rename all files ending in .txt by removing .tex.
Currently I have
me@me-Inspiron-518:~$ ls
a.tex.txt bin b.tex.txt c.tex.txt Desktop Documents Downloads d.tex.txt Music Pictures Public Templates VideosDesired outcome
me@me-Inspiron-518:~$ ls
a.txt ... (2 Replies)
Discussion started by: Xubuntu56
2 Replies
LEARN ABOUT SUSE
id3v2
ID3V2(1) User Command ID3V2(1)NAME
id3v2 - Adds/Modifies/Removes/Views id3v2 tags, converts/lists id3v1 tags
SYNOPSIS
id3v2 [ OPTION ] [ FILE ]
OPTIONS -h, --help
Display help and exit
-f, --list-frames
Display all possible frames for id3v2
-L, --list-genres
Lists all id3v1 genres
-v, --version
Display version information and exit
-l, --list
Lists the tag(s) on the file(s)
-R, --list-rfc822
Lists using an rfc822-style format for output
-d, --delete-v2
Deletes id3v2 tags
-s, --delete-v1
Deletes id3v1 tags
-D, --delete-all
Deletes both id3v1 and id3v2 tags
-C, --convert
Converts id3v1 tag to id3v2
-a, --artist ARTIST
Set the artist information
-A, --album ALBUM
Set the album title information
-t, --song SONG
Set the song title information
-c, --comment DESCRIPTION:COMMENT
Set the comment information
-g, --genre num
Set the genre number
-y, --year num
Set the year
-T, --track num/num
Set the track number/(optional) total tracks
NOTE
You can set the value for any id3v2 frame by using '--' and then frame id
For example:
id3v2 --TIT3 Monkey! file.mp3
would set the "Subtitle/Description" frame to "Monkey!".
SEE ALSO id3tag(1), id3info(1), id3convert(1)AUTHOR
id3v2 is by myers <myers_carpenter@users.sourceforge.net> with major portions used from id3lib examples. Manual page written for Debian
GNU/Linux by Robert Woodcock <rcw@debian.org>.
May 2000 ID3V2(1)