My work currently involves doing ETL (data-munging) using Perl. Because some of the data may have private information (PII), I'm doing my work on a remote desktop, which at this organization is Azure (Windows). It's not really my choice of platform -- but at least I'm able to use the excellent git-bash package to get (more or less) back to a Linux type command line.
The issue I'm having is that transferring files from my volume to the volume where my output is carried on to the next step is unreliable, and I'm wondering if anyone else has come across the same challenge. I also want to check the existing files, as I append a version number to the end of my files so that new files don't overwrite existing files.
The solution I've finally hit on (this is my work in progress) is to use chdir to go into the directory in question, and then glob to get a list of the files. It still takes ten seconds to get a list of files, but I guess that's the best I can do right now.
Thoughts, comments, ideas are welcome. Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Azure remote desktop / Issues acessing network drives
by Cow1337killr (Monk) on Jun 24, 2016 at 17:09 UTC | |
by talexb (Chancellor) on Jun 24, 2016 at 17:44 UTC | |
by davies (Monsignor) on Jun 26, 2016 at 13:56 UTC | |
by talexb (Chancellor) on Jun 27, 2016 at 15:06 UTC | |
by Cow1337killr (Monk) on Jun 24, 2016 at 18:27 UTC |