public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: James Miller <jamtat@mailsnare.net>
To: linux-newbie@vger.kernel.org
Subject: Re: help with joining files
Date: Sun, 17 Apr 2005 13:35:18 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.61.0504162230350.5717@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.61.0504161720320.5717@localhost.localdomain>

I've discovered that ls -tr is what I need to get the files listed in the 
right time sequence (time of creation). ls -t gives, for example:

Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.4_Rondo_-_Andante.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.3_Minuetto.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.2_Allegro_con_spirito.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.1_Amoroso.mp3

while ls -tr gives:

Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.1_Amoroso.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.2_Allegro_con_spirito.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.3_Minuetto.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.4_Rondo_-_Andante.mp3

(assuming the directory where the command is issued contains only these 
files). Presently, since those are just excerpts and there are many more 
files in that dir, I am navigating to that dir and doing ls -tr 
>ls-tr_date.txt. I then go into that text file with an editor adding "cat" 
at the beginning of the piece, taking out carriage returns between 
movments, and adding >~/MyMusic/name-of-piece.mp3 at the end of the 
movement. Using the above output, this would look like;

cat Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.1_Amoroso.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.2_Allegro_con_spirito.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.3_Minuetto.mp3
Boccherini_-_Quintet_for_Strings_in_E_G.275_Mvt.4_Rondo_-_Andante.mp3 
>~/MyMusic/Boccherini_-_Quintet_for_Strings_in_E_G.275.mp3

Then I cut and paste this into an xterm wherein I have navigated to the 
dir containing the files, then hit return. This is as streamlined as I've 
been able to get with this so far. Still time-consuming and a bit 
cumbersome, but I've progressed a little.

James

PS Again, the above excerpts, where movement number is actually given, are 
exceptions to the rule. I just selected output that has numbers since I 
thought it would more readily demonstrative of what I'm doing.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

      reply	other threads:[~2005-04-17 18:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15 22:55 help with joining files James Miller
2005-04-16 12:31 ` J.
2005-04-16 17:27   ` James Miller
2005-04-16 19:15     ` J.
2005-04-16 19:44     ` James Miller
2005-04-16 19:46     ` Ray Olszewski
2005-04-16 20:07       ` James Miller
2005-04-16 21:56         ` Ray Olszewski
2005-04-16 22:29           ` James Miller
2005-04-17 18:35             ` James Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0504162230350.5717@localhost.localdomain \
    --to=jamtat@mailsnare.net \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox