Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Page
Discussion
Edit
View history
Editing
Queue utility
From WikiDotMako
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
I (or someone else) should create a simple UNIX command (like for more utils) that takes a list of items (data separated separated by newlines or, with a "-0" option, by null characters). The command would then operate using these as arguments one at a time (or more in parallel, by option). So, if you copy many files from a mounted data source but only one at a time, you could easily queue them up with commands like % queue rsync host:file1 directory % queue rsync host:file2 directory2 % queue rsync host:file3 directory The first command would start rsync copying the file. When that command is finished, queue will check to see if there are more queued commands. If there are commands in the queue, it will proceed to run them. == Implementation == This should be able to work with a lock file that contains data on the files. There should be some means by which files do not edit/add to this at the same time. Opening a socket may be an effective way to both access the file and to determine if three is a running version of the command.
Summary:
Please note that all contributions to WikiDotMako are considered to be released under the Attribution-Share Alike 3.0 Unported (see
WikiDotMako:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information