3
votes
1answer
331 views

Force Close a file not a process

I want to write a script that forces closed a specific file and then copies it from one server to another. To manually do this I would use Administrative Tools --> Computer Management --> Shared ...
0
votes
2answers
249 views

How to write robust automation scripts for large scale data management?

I have been needing to automate the moving of quite large amounts of data (possibly around 1TB/day+ in average. 60TB so far, and counting) to a separate, remote storage system. I have so far been ...
0
votes
2answers
115 views

Windows Service Based Software to Run Script Everytime a file arrives

Does anyone know of a tool were that is service based which I would be able to run a script every time a file arrives in a directory? I would write the script all I want is the tool to be a service ...
2
votes
4answers
264 views

How to write to a file and, while the file is still being written, read and parse its contents using a shell script?

I'm actually trying to write a shell script that logs the output of a command to a file, but since the command takes a long time to complete (about 15 minutes), I would like to start parsing the ...
1
vote
1answer
721 views

Sharepoint 3.0 and Script to Extract files

We have a sharepoint server that we are looking to script an extraction on a partial site. The request is that they have a site that that can have multiple sub-folders. The file will then be ...
0
votes
2answers
410 views

Powershell .lnk deployment/syncing - lnk description attribute

I have been working on a powershell sync script that will be used to control what users have on their desktop (mainly lnk/shortcut files). I have it currently setup to do basic comparisons to ...
1
vote
2answers
662 views

Shell script file name format

What does the following shell script mean? This is ksh and npfile is also a variable that contains a file name. fileName=${npFile##/*/}