nonethefewer: (Default)
[personal profile] nonethefewer
This is scripting stuff for work.  I don't script in Linux that often, sooo.

--

This directory has a series of folders with this naming convention:

update_[name][date]/

It's wicked simple.  Basically, I need to:

- get the most recent folder name for [name]
- make a new folder for today's date
- copy from most-recent to new-folder
- cd new-folder

Fucked if I know, though.

(no subject)

Date: 2009-06-17 12:29 pm (UTC)
From: [identity profile] hitchhiker.livejournal.com
is the date in ansi format? (i take it you want to sort by nominal date, rather than the folder timestamp, just in case)

(no subject)

Date: 2009-06-17 12:30 pm (UTC)
From: [identity profile] hitchhiker.livejournal.com
(where by ansi format i mean yyyy-mm-dd)
Page generated Jul. 14th, 2025 06:37 pm
Powered by Dreamwidth Studios