Is it possible to save a configuration of folder structures that can be used to restore files into their...
Does surprise arrest existing movement?
Is the address of a local variable a constexpr?
How can players work together to take actions that are otherwise impossible?
Why is black pepper both grey and black?
G-Code for resetting to 100% speed
What LEGO pieces have "real-world" functionality?
∞ symbol in external pdf disappears when used as figure
Is there a concise way to say "all of the X, one of each"?
Should gear shift center itself while in neutral?
How to find all the available tools in macOS terminal?
Storing hydrofluoric acid before the invention of plastics
What's the purpose of writing one's academic bio in 3rd person?
I am not a queen, who am I?
Why are there no cargo aircraft with "flying wing" design?
Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?
Should I call the interviewer directly, if HR aren't responding?
What causes the vertical darker bands in my photo?
How to deal with a team lead who never gives me credit?
What is the musical term for a note that continously plays through a melody?
How to bypass password on Windows XP account?
Is high blood pressure ever a symptom attributable solely to dehydration?
Sorting numerically
How does cp -a work
If Jon Snow became King of the Seven Kingdoms what would his regnal number be?
Is it possible to save a configuration of folder structures that can be used to restore files into their folders?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Copying all files from multiple folders to a single folderHow to transfer a Time Machine to an NTFS partition (or how to copy HFS+ hard links)Can i know if a set of files in one folder are contained in another drive or folder?What kind of links (symbolic, hard, junction pts…) for multiple cloud backups?Copy sequential files from multiple folders into new foldersAdding date to the name of multiple files in multiple foldersWindows 10 Unhide folders/files and parent folder disappearsHow can I restore my backup files in Notepad++?How to sync directory symbolic link with Google Backup and Sync? (or how to sync files that aren't in the sync folder?)robocopy move folders that contain string and keep folder structure
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
On one hard drive, I have a library of movie files in a single folder, and on another "backup" hard drive, I have the same files only sorted into different folders and subfolders (e.g. by country, director, etc.). The purpose of this setup is not important, but I'll add that the single-folder drive is used for torrenting.
If my backup drive with multiple folders and subfolders fails, I want to be able to automatically restore the files from the single-folder drive into their multi-folder structures.
Note that this isn't a job for backup/recovery software, as I'm not interested in saving a backup of all the files. Nor is it a job that would involve simply copying the file directories to text/CSV file, or copying them as empty folders.
Basically, the thing being saved would act like a configuration file telling the OS into which folders/subfolders to place a list of files.
UPDATE: The original question is obsolete (for me) because the practice of maintaining one messy, single-folder drive and another organized, multi-folder drive (with the same files) as back-up is impractical and can be accomplished differently using symbolic links or hard links. Basically, these links allow us to have the same files located in different folders of a hard drive without taking up double the space, as would happen if we made copies of them. So, for example, we can have the files in a single folder (for seeding purposes) as well as organized in multiple folders on the same HDD. Thus, in contrast to the situation of having files organized differently across two hard drives, we can maintain a real backup of the hard drive without having to recreate the folder structures if one drive fails. Google these terms (symbolic and hard links) for more info.
windows backup
add a comment |
On one hard drive, I have a library of movie files in a single folder, and on another "backup" hard drive, I have the same files only sorted into different folders and subfolders (e.g. by country, director, etc.). The purpose of this setup is not important, but I'll add that the single-folder drive is used for torrenting.
If my backup drive with multiple folders and subfolders fails, I want to be able to automatically restore the files from the single-folder drive into their multi-folder structures.
Note that this isn't a job for backup/recovery software, as I'm not interested in saving a backup of all the files. Nor is it a job that would involve simply copying the file directories to text/CSV file, or copying them as empty folders.
Basically, the thing being saved would act like a configuration file telling the OS into which folders/subfolders to place a list of files.
UPDATE: The original question is obsolete (for me) because the practice of maintaining one messy, single-folder drive and another organized, multi-folder drive (with the same files) as back-up is impractical and can be accomplished differently using symbolic links or hard links. Basically, these links allow us to have the same files located in different folders of a hard drive without taking up double the space, as would happen if we made copies of them. So, for example, we can have the files in a single folder (for seeding purposes) as well as organized in multiple folders on the same HDD. Thus, in contrast to the situation of having files organized differently across two hard drives, we can maintain a real backup of the hard drive without having to recreate the folder structures if one drive fails. Google these terms (symbolic and hard links) for more info.
windows backup
Umm there are lots of ways to do this, and I'd usually recommend robocopy but frankly, XCOPY does this easily. XCOPY /? will show: "/T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories." If you want to copy the files including empty subfolders, just be sure to add /E to the XCOPY options you choose for the copy operation.
– Debra
Feb 19 at 6:33
Thanks for suggesting XCOPY. The main challenge however is not copying the folder structures but rather automatically relocating files (from a single folder) into their original folders. If this can be done, I welcome you to submit an answer.
– AlexR
Feb 19 at 17:03
add a comment |
On one hard drive, I have a library of movie files in a single folder, and on another "backup" hard drive, I have the same files only sorted into different folders and subfolders (e.g. by country, director, etc.). The purpose of this setup is not important, but I'll add that the single-folder drive is used for torrenting.
If my backup drive with multiple folders and subfolders fails, I want to be able to automatically restore the files from the single-folder drive into their multi-folder structures.
Note that this isn't a job for backup/recovery software, as I'm not interested in saving a backup of all the files. Nor is it a job that would involve simply copying the file directories to text/CSV file, or copying them as empty folders.
Basically, the thing being saved would act like a configuration file telling the OS into which folders/subfolders to place a list of files.
UPDATE: The original question is obsolete (for me) because the practice of maintaining one messy, single-folder drive and another organized, multi-folder drive (with the same files) as back-up is impractical and can be accomplished differently using symbolic links or hard links. Basically, these links allow us to have the same files located in different folders of a hard drive without taking up double the space, as would happen if we made copies of them. So, for example, we can have the files in a single folder (for seeding purposes) as well as organized in multiple folders on the same HDD. Thus, in contrast to the situation of having files organized differently across two hard drives, we can maintain a real backup of the hard drive without having to recreate the folder structures if one drive fails. Google these terms (symbolic and hard links) for more info.
windows backup
On one hard drive, I have a library of movie files in a single folder, and on another "backup" hard drive, I have the same files only sorted into different folders and subfolders (e.g. by country, director, etc.). The purpose of this setup is not important, but I'll add that the single-folder drive is used for torrenting.
If my backup drive with multiple folders and subfolders fails, I want to be able to automatically restore the files from the single-folder drive into their multi-folder structures.
Note that this isn't a job for backup/recovery software, as I'm not interested in saving a backup of all the files. Nor is it a job that would involve simply copying the file directories to text/CSV file, or copying them as empty folders.
Basically, the thing being saved would act like a configuration file telling the OS into which folders/subfolders to place a list of files.
UPDATE: The original question is obsolete (for me) because the practice of maintaining one messy, single-folder drive and another organized, multi-folder drive (with the same files) as back-up is impractical and can be accomplished differently using symbolic links or hard links. Basically, these links allow us to have the same files located in different folders of a hard drive without taking up double the space, as would happen if we made copies of them. So, for example, we can have the files in a single folder (for seeding purposes) as well as organized in multiple folders on the same HDD. Thus, in contrast to the situation of having files organized differently across two hard drives, we can maintain a real backup of the hard drive without having to recreate the folder structures if one drive fails. Google these terms (symbolic and hard links) for more info.
windows backup
windows backup
edited yesterday
AlexR
asked Feb 19 at 1:48
AlexRAlexR
1063
1063
Umm there are lots of ways to do this, and I'd usually recommend robocopy but frankly, XCOPY does this easily. XCOPY /? will show: "/T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories." If you want to copy the files including empty subfolders, just be sure to add /E to the XCOPY options you choose for the copy operation.
– Debra
Feb 19 at 6:33
Thanks for suggesting XCOPY. The main challenge however is not copying the folder structures but rather automatically relocating files (from a single folder) into their original folders. If this can be done, I welcome you to submit an answer.
– AlexR
Feb 19 at 17:03
add a comment |
Umm there are lots of ways to do this, and I'd usually recommend robocopy but frankly, XCOPY does this easily. XCOPY /? will show: "/T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories." If you want to copy the files including empty subfolders, just be sure to add /E to the XCOPY options you choose for the copy operation.
– Debra
Feb 19 at 6:33
Thanks for suggesting XCOPY. The main challenge however is not copying the folder structures but rather automatically relocating files (from a single folder) into their original folders. If this can be done, I welcome you to submit an answer.
– AlexR
Feb 19 at 17:03
Umm there are lots of ways to do this, and I'd usually recommend robocopy but frankly, XCOPY does this easily. XCOPY /? will show: "/T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories." If you want to copy the files including empty subfolders, just be sure to add /E to the XCOPY options you choose for the copy operation.
– Debra
Feb 19 at 6:33
Umm there are lots of ways to do this, and I'd usually recommend robocopy but frankly, XCOPY does this easily. XCOPY /? will show: "/T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories." If you want to copy the files including empty subfolders, just be sure to add /E to the XCOPY options you choose for the copy operation.
– Debra
Feb 19 at 6:33
Thanks for suggesting XCOPY. The main challenge however is not copying the folder structures but rather automatically relocating files (from a single folder) into their original folders. If this can be done, I welcome you to submit an answer.
– AlexR
Feb 19 at 17:03
Thanks for suggesting XCOPY. The main challenge however is not copying the folder structures but rather automatically relocating files (from a single folder) into their original folders. If this can be done, I welcome you to submit an answer.
– AlexR
Feb 19 at 17:03
add a comment |
1 Answer
1
active
oldest
votes
So, your current "backup" drive is where you also originally save these downloaded files, and you're just looking for a way to move these back into a second drive which has some structure you'd like to preserve, in the situation where the drive with the structure fails.
I can see how this differs from traditional backup, however I'm also rather certain that such a utility doesn't exist.
You could write a script which retrieves all of the file names and the folders they currently exist in, and store this record in another file, perhaps a CSV. Then write another script which finds the files listed in the stored reference table in the download directory, and copies them to the target directory. Neither of these scripts would be particularly complex.
Yes, exactly, the idea is to save the current file+folder structure as a reference (script) and have another script execute the copying of the files into folders based on the reference, although I thought there might be a program that can do that.
– AlexR
Feb 19 at 18:03
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1407257%2fis-it-possible-to-save-a-configuration-of-folder-structures-that-can-be-used-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
So, your current "backup" drive is where you also originally save these downloaded files, and you're just looking for a way to move these back into a second drive which has some structure you'd like to preserve, in the situation where the drive with the structure fails.
I can see how this differs from traditional backup, however I'm also rather certain that such a utility doesn't exist.
You could write a script which retrieves all of the file names and the folders they currently exist in, and store this record in another file, perhaps a CSV. Then write another script which finds the files listed in the stored reference table in the download directory, and copies them to the target directory. Neither of these scripts would be particularly complex.
Yes, exactly, the idea is to save the current file+folder structure as a reference (script) and have another script execute the copying of the files into folders based on the reference, although I thought there might be a program that can do that.
– AlexR
Feb 19 at 18:03
add a comment |
So, your current "backup" drive is where you also originally save these downloaded files, and you're just looking for a way to move these back into a second drive which has some structure you'd like to preserve, in the situation where the drive with the structure fails.
I can see how this differs from traditional backup, however I'm also rather certain that such a utility doesn't exist.
You could write a script which retrieves all of the file names and the folders they currently exist in, and store this record in another file, perhaps a CSV. Then write another script which finds the files listed in the stored reference table in the download directory, and copies them to the target directory. Neither of these scripts would be particularly complex.
Yes, exactly, the idea is to save the current file+folder structure as a reference (script) and have another script execute the copying of the files into folders based on the reference, although I thought there might be a program that can do that.
– AlexR
Feb 19 at 18:03
add a comment |
So, your current "backup" drive is where you also originally save these downloaded files, and you're just looking for a way to move these back into a second drive which has some structure you'd like to preserve, in the situation where the drive with the structure fails.
I can see how this differs from traditional backup, however I'm also rather certain that such a utility doesn't exist.
You could write a script which retrieves all of the file names and the folders they currently exist in, and store this record in another file, perhaps a CSV. Then write another script which finds the files listed in the stored reference table in the download directory, and copies them to the target directory. Neither of these scripts would be particularly complex.
So, your current "backup" drive is where you also originally save these downloaded files, and you're just looking for a way to move these back into a second drive which has some structure you'd like to preserve, in the situation where the drive with the structure fails.
I can see how this differs from traditional backup, however I'm also rather certain that such a utility doesn't exist.
You could write a script which retrieves all of the file names and the folders they currently exist in, and store this record in another file, perhaps a CSV. Then write another script which finds the files listed in the stored reference table in the download directory, and copies them to the target directory. Neither of these scripts would be particularly complex.
answered Feb 19 at 17:47
music2myearmusic2myear
32.3k860101
32.3k860101
Yes, exactly, the idea is to save the current file+folder structure as a reference (script) and have another script execute the copying of the files into folders based on the reference, although I thought there might be a program that can do that.
– AlexR
Feb 19 at 18:03
add a comment |
Yes, exactly, the idea is to save the current file+folder structure as a reference (script) and have another script execute the copying of the files into folders based on the reference, although I thought there might be a program that can do that.
– AlexR
Feb 19 at 18:03
Yes, exactly, the idea is to save the current file+folder structure as a reference (script) and have another script execute the copying of the files into folders based on the reference, although I thought there might be a program that can do that.
– AlexR
Feb 19 at 18:03
Yes, exactly, the idea is to save the current file+folder structure as a reference (script) and have another script execute the copying of the files into folders based on the reference, although I thought there might be a program that can do that.
– AlexR
Feb 19 at 18:03
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1407257%2fis-it-possible-to-save-a-configuration-of-folder-structures-that-can-be-used-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Umm there are lots of ways to do this, and I'd usually recommend robocopy but frankly, XCOPY does this easily. XCOPY /? will show: "/T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories." If you want to copy the files including empty subfolders, just be sure to add /E to the XCOPY options you choose for the copy operation.
– Debra
Feb 19 at 6:33
Thanks for suggesting XCOPY. The main challenge however is not copying the folder structures but rather automatically relocating files (from a single folder) into their original folders. If this can be done, I welcome you to submit an answer.
– AlexR
Feb 19 at 17:03