Click here to Skip to main content
15,912,897 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Win10 1709 Fall update soft keyboard - if you use it, don't update. Pin
Johnny J.11-Dec-17 1:57
professionalJohnny J.11-Dec-17 1:57 
GeneralLatest Winten feature update Pin
kmoorevs10-Dec-17 9:28
kmoorevs10-Dec-17 9:28 
GeneralRe: Latest Winten feature update Pin
User 274316210-Dec-17 20:34
User 274316210-Dec-17 20:34 
GeneralRe: Latest Winten feature update Pin
kmoorevs11-Dec-17 6:34
kmoorevs11-Dec-17 6:34 
GeneralRe: Latest Winten feature update Pin
Johnny J.11-Dec-17 3:31
professionalJohnny J.11-Dec-17 3:31 
GeneralRe: Latest Winten feature update Pin
charlieg11-Dec-17 9:15
charlieg11-Dec-17 9:15 
GeneralRe: Latest Winten feature update Pin
kmoorevs11-Dec-17 9:41
kmoorevs11-Dec-17 9:41 
GeneralFLISP ? Pin
PIEBALDconsult10-Dec-17 7:15
mvePIEBALDconsult10-Dec-17 7:15 
(Almost a programming question.)

Most of my current work involves ETLs moving data from place to place (currently in SSIS Dead | X| ).
Often that means copying files from place to place -- primarily copying from NAS to local disk, but also extracting from a ZIP or TARBALL to local disk.
Sometimes it means determining which of a group of files is newest and giving it a generic name when it's copied -- e.g. foo_2017-12-10.csv ==> foo.csv

I find myself on the brink of defining a file management scripting language so we can describe the desired action in a high-level way.
Among the various techniques we've used so far include:
0) Using SSIS' built-in file handling component which is very limited in its abilities.
1) Writing a C# script and either:
1.1) Using System.IO.File.Copy and its ilk.
1.2) Using a System.Diagnostics.Process to execute COPY and 7ZIP commands Dead | X| .


What I've come up with so far is beginning to resemble LISP. WTF | :WTF:

EXTRACT ( COPY ( NEWEST ( LIST ( DIR ( "\\serverx\widgetco\" ) , "foo*.zip" ) ) , "foo.zip" ) , "foo.csv" )

There are several other features I am considering, particularly only copying a source file when it is newer than the file currently at the destination and raising an alarn if it's older.

I need to be either pushed over the edge or pulled back.

Do I need to proceed to develop this thing?
Does anyone out there know of some existing tool (with API so I can integrate it into SSIS) that already does this sort of thing?
GeneralRe: FLISP ? Pin
Daniel Pfeffer10-Dec-17 7:44
professionalDaniel Pfeffer10-Dec-17 7:44 
GeneralRe: FLISP ? Pin
abmv10-Dec-17 8:09
professionalabmv10-Dec-17 8:09 
GeneralRe: FLISP ? Pin
PIEBALDconsult10-Dec-17 8:40
mvePIEBALDconsult10-Dec-17 8:40 
GeneralRe: FLISP ? Pin
Mike Hankey10-Dec-17 8:11
mveMike Hankey10-Dec-17 8:11 
GeneralRe: FLISP ? Pin
PIEBALDconsult10-Dec-17 8:37
mvePIEBALDconsult10-Dec-17 8:37 
GeneralRe: FLISP ? Pin
Mike Hankey10-Dec-17 8:42
mveMike Hankey10-Dec-17 8:42 
GeneralRe: FLISP ? Pin
PIEBALDconsult10-Dec-17 8:48
mvePIEBALDconsult10-Dec-17 8:48 
GeneralRe: FLISP ? Pin
Mike Hankey10-Dec-17 8:50
mveMike Hankey10-Dec-17 8:50 
GeneralRe: FLISP ? Pin
PIEBALDconsult10-Dec-17 9:01
mvePIEBALDconsult10-Dec-17 9:01 
GeneralRe: FLISP ? Pin
Marc Clifton10-Dec-17 9:44
mvaMarc Clifton10-Dec-17 9:44 
GeneralRe: FLISP ? Pin
PIEBALDconsult10-Dec-17 10:28
mvePIEBALDconsult10-Dec-17 10:28 
GeneralRe: FLISP ? Pin
Marc Clifton10-Dec-17 10:35
mvaMarc Clifton10-Dec-17 10:35 
GeneralRe: FLISP ? Pin
PIEBALDconsult10-Dec-17 13:07
mvePIEBALDconsult10-Dec-17 13:07 
GeneralRe: FLISP ? Pin
Marc Clifton11-Dec-17 2:06
mvaMarc Clifton11-Dec-17 2:06 
GeneralRe: FLISP ? Pin
PIEBALDconsult12-Dec-17 16:15
mvePIEBALDconsult12-Dec-17 16:15 
GeneralFirst snow fall of winter for us here Pin
Slacker00710-Dec-17 2:01
professionalSlacker00710-Dec-17 2:01 
GeneralRe: First snow fall of winter for us here Pin
charlieg10-Dec-17 2:07
charlieg10-Dec-17 2:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.