copy numerous files/folders in linux with queuing and the ability to break and continue
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm copying terabytes worth of data from an OLD OLD OLD *nix system. I could spend the money to buy new hardware to plug the drives into but I want to avoid spending money.
The system is crappy. It freezes and crashes a lot. So I have to restart the copy process every time. And it takes a long time for it to "catch up" because it has to "skip" the files that it already copied.
I could use rsync
but the system is so slow that every time I start an rsync
that initial inventory scan/compare takes a while.
So then I thought I could generate a one-time-list of all the files that need to be copied and save them to a file. Then I could have a script that goes through the file and copies that file then deletes that line. If the script/copy fails in the middle I could just continue from where it left off. I don't know how to handle/process the part that would delete the line from the queue but while trying to figure that out I realized there must be some publicly available tool or script that already does what I need.
So the goal is that it would go through some input queue of files to copy and copy them and, as it finishes a copy, it would remove it from the queue. I don't need it for this particular use-case but it should be able to accommodate new entries being added to the queue. And, of course, the queue should be file based so it can be continued from in case of a system error/issue.
Anyone know of one?
linux shell jobs
add a comment |Â
up vote
0
down vote
favorite
I'm copying terabytes worth of data from an OLD OLD OLD *nix system. I could spend the money to buy new hardware to plug the drives into but I want to avoid spending money.
The system is crappy. It freezes and crashes a lot. So I have to restart the copy process every time. And it takes a long time for it to "catch up" because it has to "skip" the files that it already copied.
I could use rsync
but the system is so slow that every time I start an rsync
that initial inventory scan/compare takes a while.
So then I thought I could generate a one-time-list of all the files that need to be copied and save them to a file. Then I could have a script that goes through the file and copies that file then deletes that line. If the script/copy fails in the middle I could just continue from where it left off. I don't know how to handle/process the part that would delete the line from the queue but while trying to figure that out I realized there must be some publicly available tool or script that already does what I need.
So the goal is that it would go through some input queue of files to copy and copy them and, as it finishes a copy, it would remove it from the queue. I don't need it for this particular use-case but it should be able to accommodate new entries being added to the queue. And, of course, the queue should be file based so it can be continued from in case of a system error/issue.
Anyone know of one?
linux shell jobs
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm copying terabytes worth of data from an OLD OLD OLD *nix system. I could spend the money to buy new hardware to plug the drives into but I want to avoid spending money.
The system is crappy. It freezes and crashes a lot. So I have to restart the copy process every time. And it takes a long time for it to "catch up" because it has to "skip" the files that it already copied.
I could use rsync
but the system is so slow that every time I start an rsync
that initial inventory scan/compare takes a while.
So then I thought I could generate a one-time-list of all the files that need to be copied and save them to a file. Then I could have a script that goes through the file and copies that file then deletes that line. If the script/copy fails in the middle I could just continue from where it left off. I don't know how to handle/process the part that would delete the line from the queue but while trying to figure that out I realized there must be some publicly available tool or script that already does what I need.
So the goal is that it would go through some input queue of files to copy and copy them and, as it finishes a copy, it would remove it from the queue. I don't need it for this particular use-case but it should be able to accommodate new entries being added to the queue. And, of course, the queue should be file based so it can be continued from in case of a system error/issue.
Anyone know of one?
linux shell jobs
I'm copying terabytes worth of data from an OLD OLD OLD *nix system. I could spend the money to buy new hardware to plug the drives into but I want to avoid spending money.
The system is crappy. It freezes and crashes a lot. So I have to restart the copy process every time. And it takes a long time for it to "catch up" because it has to "skip" the files that it already copied.
I could use rsync
but the system is so slow that every time I start an rsync
that initial inventory scan/compare takes a while.
So then I thought I could generate a one-time-list of all the files that need to be copied and save them to a file. Then I could have a script that goes through the file and copies that file then deletes that line. If the script/copy fails in the middle I could just continue from where it left off. I don't know how to handle/process the part that would delete the line from the queue but while trying to figure that out I realized there must be some publicly available tool or script that already does what I need.
So the goal is that it would go through some input queue of files to copy and copy them and, as it finishes a copy, it would remove it from the queue. I don't need it for this particular use-case but it should be able to accommodate new entries being added to the queue. And, of course, the queue should be file based so it can be continued from in case of a system error/issue.
Anyone know of one?
linux shell jobs
linux shell jobs
asked 11 mins ago
IMTheNachoMan
13818
13818
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476175%2fcopy-numerous-files-folders-in-linux-with-queuing-and-the-ability-to-break-and-c%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password