How can I automatically organize files within a folder based on the name? Announcing the...
Semigroups with no morphisms between them
What is the meaning of 'breadth' in breadth first search?
macOS: Name for app shortcut screen found by pinching with thumb and three fingers
Do I really need to have a message in a novel to appeal to readers?
Can a Beast Master ranger change beast companions?
Why weren't discrete x86 CPUs ever used in game hardware?
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
How often does castling occur in grandmaster games?
Is there hard evidence that the grant peer review system performs significantly better than random?
Is there public access to the Meteor Crater in Arizona?
What makes a man succeed?
preposition before coffee
Electrolysis of water: Which equations to use? (IB Chem)
Should a wizard buy fine inks every time he want to copy spells into his spellbook?
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
Does "shooting for effect" have contradictory meanings in different areas?
Dyck paths with extra diagonals from valleys (Laser construction)
Amount of permutations on an NxNxN Rubik's Cube
What does it mean that physics no longer uses mechanical models to describe phenomena?
Flash light on something
Random body shuffle every night—can we still function?
How to report t statistic from R
Google .dev domain strangely redirects to https
One-one communication
How can I automatically organize files within a folder based on the name?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Can I sort files A-Z and at the same time Z-A?Sorting files based on a timestamp within the fileHow can i automatically move files based on their name?Dragging a folder full of files into another folder which automatically zips and moves it to an archive driveI want to create subdirectories that have the same name as the files I am going to move to them, using a batch fileHow does EFS use the user account to decrypt files?Connecting a windows pc to a harddrive stored in HDD bay enclosure connected to a macHow can files with the exact same name be created in a folder?Windows creating unlimited folder within the folder with same name, can not delete itHow to leave Azure AD, when Microsoft account got joined to it by exchange to office 365 migration
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have a folder with over 4,000 PDF files that my company used to use as a loading dock to upload into our CRM as they were scanned in. We are now switching software and this folder is all that will remain of our files that we want to keep from past jobs. Each file is in this format:
companyname - proof.pdf
companyname - notes.pdf
companyname two - proof.pdf
companyname two - vendor file.pdf
I am now tasked with creating a folder for each "companyname" and sorting all files we have from that company into its own folder. Which isn't hard, but time consuming. Does anyone know of a way I could run a script or something to automatically create a folder for "companyname" and move each file with that matching name into said folder? Preferably something that could determine what the "companyname" is on its own, because otherwise I'll have to enter in hundreds of different companies and if that's the only way I would rather just do it manually. Thank you in advance!
Here is a photo example of the folder
windows windows-10 sorting
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have a folder with over 4,000 PDF files that my company used to use as a loading dock to upload into our CRM as they were scanned in. We are now switching software and this folder is all that will remain of our files that we want to keep from past jobs. Each file is in this format:
companyname - proof.pdf
companyname - notes.pdf
companyname two - proof.pdf
companyname two - vendor file.pdf
I am now tasked with creating a folder for each "companyname" and sorting all files we have from that company into its own folder. Which isn't hard, but time consuming. Does anyone know of a way I could run a script or something to automatically create a folder for "companyname" and move each file with that matching name into said folder? Preferably something that could determine what the "companyname" is on its own, because otherwise I'll have to enter in hundreds of different companies and if that's the only way I would rather just do it manually. Thank you in advance!
Here is a photo example of the folder
windows windows-10 sorting
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
This could easily be done with C# and/or PowerShell. Loop through each file in the folder, output the list of files into a text file, use string functions to extract all text before the '-' and only create a folder on the first folder in theory. We will be unable to write the script for you. Use File operations to copy the files to the folder as they are created.
– Ramhound
5 hours ago
Good to know, I will try to do this. Thank you so much!
– dwadey
3 hours ago
add a comment |
I have a folder with over 4,000 PDF files that my company used to use as a loading dock to upload into our CRM as they were scanned in. We are now switching software and this folder is all that will remain of our files that we want to keep from past jobs. Each file is in this format:
companyname - proof.pdf
companyname - notes.pdf
companyname two - proof.pdf
companyname two - vendor file.pdf
I am now tasked with creating a folder for each "companyname" and sorting all files we have from that company into its own folder. Which isn't hard, but time consuming. Does anyone know of a way I could run a script or something to automatically create a folder for "companyname" and move each file with that matching name into said folder? Preferably something that could determine what the "companyname" is on its own, because otherwise I'll have to enter in hundreds of different companies and if that's the only way I would rather just do it manually. Thank you in advance!
Here is a photo example of the folder
windows windows-10 sorting
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have a folder with over 4,000 PDF files that my company used to use as a loading dock to upload into our CRM as they were scanned in. We are now switching software and this folder is all that will remain of our files that we want to keep from past jobs. Each file is in this format:
companyname - proof.pdf
companyname - notes.pdf
companyname two - proof.pdf
companyname two - vendor file.pdf
I am now tasked with creating a folder for each "companyname" and sorting all files we have from that company into its own folder. Which isn't hard, but time consuming. Does anyone know of a way I could run a script or something to automatically create a folder for "companyname" and move each file with that matching name into said folder? Preferably something that could determine what the "companyname" is on its own, because otherwise I'll have to enter in hundreds of different companies and if that's the only way I would rather just do it manually. Thank you in advance!
Here is a photo example of the folder
windows windows-10 sorting
windows windows-10 sorting
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 6 hours ago
dwadeydwadey
62
62
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
dwadey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
This could easily be done with C# and/or PowerShell. Loop through each file in the folder, output the list of files into a text file, use string functions to extract all text before the '-' and only create a folder on the first folder in theory. We will be unable to write the script for you. Use File operations to copy the files to the folder as they are created.
– Ramhound
5 hours ago
Good to know, I will try to do this. Thank you so much!
– dwadey
3 hours ago
add a comment |
This could easily be done with C# and/or PowerShell. Loop through each file in the folder, output the list of files into a text file, use string functions to extract all text before the '-' and only create a folder on the first folder in theory. We will be unable to write the script for you. Use File operations to copy the files to the folder as they are created.
– Ramhound
5 hours ago
Good to know, I will try to do this. Thank you so much!
– dwadey
3 hours ago
This could easily be done with C# and/or PowerShell. Loop through each file in the folder, output the list of files into a text file, use string functions to extract all text before the '-' and only create a folder on the first folder in theory. We will be unable to write the script for you. Use File operations to copy the files to the folder as they are created.
– Ramhound
5 hours ago
This could easily be done with C# and/or PowerShell. Loop through each file in the folder, output the list of files into a text file, use string functions to extract all text before the '-' and only create a folder on the first folder in theory. We will be unable to write the script for you. Use File operations to copy the files to the folder as they are created.
– Ramhound
5 hours ago
Good to know, I will try to do this. Thank you so much!
– dwadey
3 hours ago
Good to know, I will try to do this. Thank you so much!
– dwadey
3 hours ago
add a comment |
0
active
oldest
votes
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
});
}
});
dwadey is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1427457%2fhow-can-i-automatically-organize-files-within-a-folder-based-on-the-name%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
dwadey is a new contributor. Be nice, and check out our Code of Conduct.
dwadey is a new contributor. Be nice, and check out our Code of Conduct.
dwadey is a new contributor. Be nice, and check out our Code of Conduct.
dwadey is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1427457%2fhow-can-i-automatically-organize-files-within-a-folder-based-on-the-name%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
This could easily be done with C# and/or PowerShell. Loop through each file in the folder, output the list of files into a text file, use string functions to extract all text before the '-' and only create a folder on the first folder in theory. We will be unable to write the script for you. Use File operations to copy the files to the folder as they are created.
– Ramhound
5 hours ago
Good to know, I will try to do this. Thank you so much!
– dwadey
3 hours ago