I thought I knew "a lot about computers" as a PC builder, a 3D modeler/renderer, and a keyboard shortcut obsessed person (e.g. Win+E, Win+P), but this lesson about PowerShell blew my mind. Thank you for sharing!
This was incredibly helpful! And as a totally blind user, I appreciate so much that you verbalized every key in the commands so I could access everything !
That was incredibly informative, valuable, and educational... and your teaching style and presentation are the best I've ever heard or seen, and I've taken a lot of technical classes from professionals and companies throughout the years. Your insights and details are perfect. Thank you very, very, very much for taking the time to prepare and publish this video. You are Super, and I am now a loyal fan. Continue to be your Best and Better.
Thank you so much. This is the best video I found. I only needed the code on adding name at the beginning and you're the only one who had it. So helpful!
Thank you so much! I can't express enough how much this has helped me. I've been renaming my video files manually. Saved me time, aggravation and frustration. Excellent, easy instructions. 🥰
I just came here looking for a way to quickly rename some video files because I was feeling lazy... but oh man, this is SUPER useful! I'm actually an Economics university student and I do a lot of work with data analysis and graphics, your example about typing the wrong year was painfully relatable lol. Thank you so much!
That was absolutely first class. You helped me so much there and has made a huge difference to my work. You explained the steps perfectly. Hugely impressed. Many many thanks :)
I was looking for a script. But after watching the first few examples I realized that using a script, things could go horribly wrong. This method is so much more controlled yet still much faster than renaming files individually. You Ma'am have saved me hours upon hours of tedious and repetitive typing. Thank you.
Karina, Thank you for sharing this video. It indeed help me saving time. Also as a Taiwanese seeing the video with “Taiwan” as a example. It made me more focus in the film.
Thank you! One of your examples was exactly what I was trying to do. The -exclude parameter took care of the problem I was having with repeated renaming.
Oh my god this was so freaking easy with the text inside the description. I wanted to remove the site name from pdf files I saved for recipes I just downloaded in the last few days I have over 100 I needed to remove the site title from. At least now when I start tagging them and adding and removing specific words this will be much easier. That you very much for the video.
ha ha ha, i knew some of this stuff like the back of hand my except i didn't know CMD commands were different in Windows Power Shell. This is such a valuable tutorial, a must!!!
After doing a search here in youtube ("batch rename jpgs in windows") it came up with SEVERAL tutorial options. This was not the first video option but it was the first one I happened to view, AND BOY AM I GLAD. I did not care for the 'POWERSHELL' part at the beginning...I could not even find that function on my PC. However at 7:55 the part of renaming using the CMD window looks very promising. Also, and the BEST option for me since I tested it successfully just now, is the last method explained starting at 13:31 in the video. That option has slightly limited results in WHAT it renames your files, however it will do JUST PERFECTLY for what I need to do to the 7600 photos I took yesterday (which I will later compile into a time lapse video).
I did the command as in minute 12:01, but why in my case the loop never stops, i.e. it keeps renaming the ones already renamed? What did I do wrong? Here is my command: for %a in (*.*) do ren "%a" "TC_%a". Thank you.
Excellent info, well presented, one thing I could suggest to improve. Thing or anything does not have a K on the end, e.g. not Anythink. Again, I think your video was extremely helpful. Thanks
excellent video !! i wish you showed how to add increasing numbers at the start or end of file name, that would have been perfect, i guess i can do that by combining the multiple rename windows tool with ctrl+a and f2, and then a few powershell commands to remove spaces and parentheses, but a powershell command would have been nicer, more customisable
Excellent video. Very well done and exactly what I needed for renaming my hundreds of scans of old family negatives and slides! Thank you SOOOOO much! You saved me tons of time and agonizing keyboard work!
Thank you! At last someone showing all the options available instead of just showing how to bulk replace entire name with another! And may I just add that another way of opening the powershell is by just opening the folder in a window, then by clicking on the address bar and just typing "powershell" (right clicking didn't work for me). After hitting enter powershell opens directly in the same folder. Once again thank you!!!
hi very good tutorial ...just one thing though u know how ur files shows diffrent numbers for each file.... since the numbers are random how do u remove those ??? am asking cause of a game gave me tons of files with many random numbers in the beginning...... how can i use power shell to identify all the ramdon numbers and remove them..??
OH MY GOD THIS IS BRILLIANT. Thank you for such easy-to-follow instructions with clear explanations. I've been pulling my hair out over this! Please tell me you're writing a book! (Quick question: is there a way to rename files sequentially starting at a number other than "1"? )
Select all the files. Then press F2. Rename the first file whatever you want to call it and type the number you want to start with after it in brackets. Then press Enter. This should number all of your files starting at the number you typed in.
You're kidding. That's all? Good grief, I've been tying myself in knots! I knew about using F2, but this is just ridiculously easy. Thanks again! (P.S. Still waiting for your PowerShell book to come out!)
Good tutorial,one of the most frequent uses of batch commands is to number the files in an ascending/descending order .Since it was not covered in this video ,is it possible ?Thanks.
@@karinaadcock Should I even ask why there are 4 ways of doing the same friggin thing? You can also use forfiles to add to an existing name, and that has completely different notation like @FILE @EXT etc. I'm using the one below cause it makes sense to me, idk what the other 10 do without a full explanation+example. I only tried it with powershell: dir *.png | ForEach-Object -begin {$count=1} -process {rename-item $_ -newname "typeoptionalnamehere$count.txt"; $count++} You change the .png to whatever extension of the files u want to convert...it assumes all files in the folder with the ext are to be changed. You set the number u want the files increasing from to be, by changing the 1 that the var count is assigned to, to whatever. You then change the last string "typeoptionalname...etc" to whatever u want the name to be, be sure to include $count where u want the number part to be in the name, and include the extension u want replacing .txt. and then that's it. So you could use $count.txt" and just keep everything else the same and it would change any png files u have to 1.txt 2.txt 3.txt ....etc
Brillant vídeo! Thanks!! What if i want to add as a prefix somethung like thst = _01.1 ( first pictures ) _01.2 ( second pictures)....till the end of the files? But not loosing the files names It self but adding this information?
Hi Karina, thank you so much for this video. has helped me alot as i have about 1800 files to rename. One question i wanna ask is i have prefixes at the end that i wanna remove but they all are different eg. ACF1190 - Bus Shelter, ACF1191 -Taxi Shelter. i wanna remove all the prefix -Bus Shelter and -Taxi Shelter. how do i make it recognize the prefix at the end and remove those?
Okay this is the method that I came up with: First open up windows command prompt and use this line of code: rename "*-**.txt" "**-.txt" This should remove everything on the right hand side of the dash. Then open up powershell and use this line of code: dir | Rename-Item -NewName {$_.name -replace " -", ""} This should remove the " -" that is left over. I tested this on 4 files and changed there names: Previous names: "ACF1190 - Bus Shelter.txt" "ACF1191 -Taxi Shelter.txt" "ACF1192 - Bus Shelter.txt" "ACF1193 - Taxi Shelter.txt" New names: "ACF1190.txt" "ACF1191.txt" "ACF1192.txt" "ACF1193.txt"
@@karinaadcock Thank you so much! this works, however a few of files, the prefixes were still attached, possibly because the prefix ended with a '-" eg. ACF1190 - Taxi Shelter - . i was doing try and error with the code, somehow still cant remove but i think i just probably have yet to understand how scripting works haha. I'll be thrilled if you ever have tutorial videos on breaking down the scripting for powershell/ cmd prompt! first ever tutorial ive come across that is super clear and concise !! Thanks again, saved me a ton of my time :)
Karina..you have literally saved me hours of work for 10 minutes of learning. Thank you so much ! X
I thought I knew "a lot about computers" as a PC builder, a 3D modeler/renderer, and a keyboard shortcut obsessed person (e.g. Win+E, Win+P), but this lesson about PowerShell blew my mind.
Thank you for sharing!
This was incredibly helpful! And as a totally blind user, I appreciate so much that you verbalized every key in the commands so I could access everything
!
That was incredibly informative, valuable, and educational... and your teaching style and presentation are the best I've ever heard or seen, and I've taken a lot of technical classes from professionals and companies throughout the years. Your insights and details are perfect. Thank you very, very, very much for taking the time to prepare and publish this video. You are Super, and I am now a loyal fan. Continue to be your Best and Better.
Thank you so much. This is the best video I found. I only needed the code on adding name at the beginning and you're the only one who had it. So helpful!
Thank you so much! I can't express enough how much this has helped me. I've been renaming my video files manually. Saved me time, aggravation and frustration. Excellent, easy instructions. 🥰
I just came here looking for a way to quickly rename some video files because I was feeling lazy... but oh man, this is SUPER useful! I'm actually an Economics university student and I do a lot of work with data analysis and graphics, your example about typing the wrong year was painfully relatable lol. Thank you so much!
Wow! Amazing, Karina. This is one of the best videos at the moment! You explained it very details and the quality is superb!!
That was absolutely first class. You helped me so much there and has made a huge difference to my work. You explained the steps perfectly. Hugely impressed. Many many thanks :)
the way you explain is plain & simple. easy to understand.
I was looking for a script. But after watching the first few examples I realized that using a script, things could go horribly wrong. This method is so much more controlled yet still much faster than renaming files individually. You Ma'am have saved me hours upon hours of tedious and repetitive typing. Thank you.
There we go. I knew it was easy. Just couldn't find the right video. Thanks for adding the commands.
Best tut about bulk renaming I've ever seen, Thanks a lot.
BTW, I loved your accent.
THANK YOU, GIRL! Omg, you've saved my life. I was crying hard trying to fix just a part of my 5hundred file names. You deserve a nobel price
Fantastic tutorial, used to use a bulk rename utility but this does just as well and doesn't involve installing anything on my work computer!
Thank you for this informative Video! I looked long time for a description, how to rename bulk files. THANK YOU!
Karina, Thank you for sharing this video. It indeed help me saving time. Also as a Taiwanese seeing the video with “Taiwan” as a example. It made me more focus in the film.
Thank you! One of your examples was exactly what I was trying to do. The -exclude parameter took care of the problem I was having with repeated renaming.
Thank you for explaining so clearly and simply using easy to understand English.
incredible ma'am .
I've trying to rename files extension in bulk but couldn't open cmd prompt rightly . thanks to your video, i can do it now
Oh my god this was so freaking easy with the text inside the description. I wanted to remove the site name from pdf files I saved for recipes I just downloaded in the last few days I have over 100 I needed to remove the site title from. At least now when I start tagging them and adding and removing specific words this will be much easier. That you very much for the video.
ha ha ha, i knew some of this stuff like the back of hand my except i didn't know CMD commands were different in Windows Power Shell. This is such a valuable tutorial, a must!!!
Thanks a lot. You made my day. My issue got resolved after a long time. Appreciated
After doing a search here in youtube ("batch rename jpgs in windows") it came up with SEVERAL tutorial options. This was not the first video option but it was the first one I happened to view, AND BOY AM I GLAD. I did not care for the 'POWERSHELL' part at the beginning...I could not even find that function on my PC. However at 7:55 the part of renaming using the CMD window looks very promising. Also, and the BEST option for me since I tested it successfully just now, is the last method explained starting at 13:31 in the video. That option has slightly limited results in WHAT it renames your files, however it will do JUST PERFECTLY for what I need to do to the 7600 photos I took yesterday (which I will later compile into a time lapse video).
THANK U!!!! U saved me from sitting and spending days renaming thousands of files
This was probably the most useful video I've ever seen
FANTASTIC! - This helped me rename an "eff" ton of files at once!
Thanks a lot. I can't explain how much easier you have made my life.
Thank you so much for this! This has saved me so much time on renaming hundred of files!
Great video, I'm training a model and I have thousands of images to rename. Thank you so much!
Your demonstrations/explanations are very clear and easy to understand. Thank you so much!
You have no idea how much this helped me. Thank you!!!
You are my favorite person today! Thank you for this video!!
Amazingly explained. Saved so much time of mine. Thank you!! Keep up the good work
I did the command as in minute 12:01, but why in my case the loop never stops, i.e. it keeps renaming the ones already renamed? What did I do wrong?
Here is my command:
for %a in (*.*) do ren "%a" "TC_%a".
Thank you.
Helped a lot, thanks! It was necessary to remove the spaces from the names, it worked :)
Thank you so much for the tutorials, Karina. It's very helpful
Thank you Karina, you are a legend.. Saved me soooo much pain dealing with photo transfers from my iphone
Excellent info, well presented, one thing I could suggest to improve. Thing or anything does not have a K on the end, e.g. not Anythink. Again, I think your video was extremely helpful. Thanks
Thank you soo much,
you explained very well and it helped us a lot,
keep going, best of luck.
6:01 is what I was looking for OMG thank you very much !!!!!!!!!
Me too!! - I wonder why this is NOT just built into Windows? seems like a pretty simple and useful feature to implement
Thanks, Karina! Exactly what I needed.
excellent video !! i wish you showed how to add increasing numbers at the start or end of file name, that would have been perfect, i guess i can do that by combining the multiple rename windows tool with ctrl+a and f2, and then a few powershell commands to remove spaces and parentheses, but a powershell command would have been nicer, more customisable
Thank a lot it saved my lots of time and this was the perfect solution that i was looking for!
Very good. Just that with more contra color, it will be easier to see what you type.
It was very useful...thank you so much for making this video.
Very helpful. You deserve a medal.
Excellent video. Very well done and exactly what I needed for renaming my hundreds of scans of old family negatives and slides! Thank you SOOOOO much! You saved me tons of time and agonizing keyboard work!
Super useful! Thank you for the knowledge.
wow this video is absolutely fantastic, thank you so much to share your knowledge in this video
Thank you! At last someone showing all the options available instead of just showing how to bulk replace entire name with another! And may I just add that another way of opening the powershell is by just opening the folder in a window, then by clicking on the address bar and just typing "powershell" (right clicking didn't work for me). After hitting enter powershell opens directly in the same folder. Once again thank you!!!
you have to right click +SHIFT FOR 2 TIMES BEFORE OPEN WITH POWERSHELL APPEARS OPTION, i AM NOT SCREAMING
AHh Thank you! Had to rename over 600 png files for it to work in maya. The renaming convention made it work!!!!
Thank you so much, the first three minutes was exactly what I needed.
Saved me countless hours, and good explenation. Many many thanks :)
I hope you are a teacher, because with such clear and good instructions it would be such a waste if you werent, but nevertheless pursue what you love
TRUELLYYYYYY WONDER FUL. it saved me days of work. thank you for you kindness to share it awesome
You really amazing, this video so helpful.. Love you from DOD
you have saved me 100s of hours! I can't thank you enough for this video! 100 out of 10!! Thank you!
Wow, very educational and detailed video it was easy to understand and use, thank you so much.
Verry useful rare information. Its really great👍✔️
Thanks a lot, this was very useful and you explained it really well!
Superb ...works.. amazing insight... Karina... god bless
Thanks So Much-Quick, Simple and VERY EFFICIENT
Thank you so much for this, the struggle has been real
Thank you for making the video. Good job.
Hugely impressed. Many many thanks.. Con you show how to replace those brackets [ ]
Excellent.... one doubt- how to remove only first and second space in windows power-shell
This tutorial save my life thank you.
Wonderful video tutorial! Thank you very much :)
Thank you so much. Rename replace example was a big help.
this video was a great help to me. Thanks a Lot :)
Very helpful video. Thank you so much!
Thanks for sharing such a time saving technique.
13:32 That is what I was looking for. WAY TO GO, very easy
so helpful, thank yout for the tutorial
Its help me a lot.. thanks for posting this video
Wonderful tutorial and tremendously helpful! Thank you for your time and passed knowledge 🤗
This was an excellent tutorial, Thank you so much!!!
Great tutorial, is there any way to do this with folder names?
So so so so SO very helpful thank you!!
2:50 hay I have a doubt. I follow the same step to remove "(" ... but it doesn't work
hi very good tutorial ...just one thing though u know how ur files shows diffrent numbers for each file.... since the numbers are random how do u remove those ??? am asking cause of a game gave me tons of files with many random numbers in the beginning...... how can i use power shell to identify all the ramdon numbers and remove them..??
Your video so useful. Thank for sharing
Brilliant - thanks very much!
OH MY GOD THIS IS BRILLIANT. Thank you for such easy-to-follow instructions with clear explanations. I've been pulling my hair out over this! Please tell me you're writing a book! (Quick question: is there a way to rename files sequentially starting at a number other than "1"? )
Select all the files. Then press F2. Rename the first file whatever you want to call it and type the number you want to start with after it in brackets. Then press Enter. This should number all of your files starting at the number you typed in.
You're kidding. That's all? Good grief, I've been tying myself in knots! I knew about using F2, but this is just ridiculously easy. Thanks again! (P.S. Still waiting for your PowerShell book to come out!)
Thank u for the video! How do I batch remove () from my files? I was able to remove the number between the brackets but not the parenthesis lol
Thank you very much, well appreciated!
Good tutorial,one of the most frequent uses of batch commands is to number the files in an ascending/descending order .Since it was not covered in this video ,is it possible ?Thanks.
Get-ChildItem * | ForEach {Rename-Item -LiteralPath "$_" -NewName ('example - {0:D2}.txt' -f $i++)}
stackoverflow.com/questions/41820485/renaming-files-in-bulk-and-in-ascending-order-in-cmd
@@karinaadcock Should I even ask why there are 4 ways of doing the same friggin thing? You can also use forfiles to add to an existing name, and that has completely different notation like @FILE @EXT etc.
I'm using the one below cause it makes sense to me, idk what the other 10 do without a full explanation+example. I only tried it with powershell:
dir *.png | ForEach-Object -begin {$count=1} -process {rename-item
$_ -newname "typeoptionalnamehere$count.txt"; $count++}
You change the .png to whatever extension of the files u want to convert...it assumes all files in the folder with the ext are to be changed. You set the number u want the files increasing from to be, by changing the 1 that the var count is assigned to, to whatever. You then change the last string "typeoptionalname...etc" to whatever u want the name to be, be sure to include $count where u want the number part to be in the name, and include the extension u want replacing .txt. and then that's it. So you could use $count.txt" and just keep everything else the same and it would change any png files u have to 1.txt 2.txt 3.txt ....etc
hi karina,..how about numbering them sequentially like for example "taiwan -AA 001, taiwan-AA 002 ...and so on"?..thank you
Very helpful. Thank you so much!
Brillant vídeo! Thanks!! What if i want to add as a prefix somethung like thst = _01.1 ( first pictures ) _01.2 ( second pictures)....till the end of the files? But not loosing the files names It self but adding this information?
This is very helpful! Would you know how to add sequential numbers to your new file names? Thank you!
Thank you very much! It was really useful!
Thank you so much. You saved me a lot of time, i'm so relieved.
Thank you very much!!! This is 100% helpful and easy to understand.
I have this one question, how can I change their extension at once?
You type dir | Rename-Item -NewName {$_.basename + ".jpg" } or whatever you want to change
That's really helpful..... Thankk youu so muchh
Saved a lot of my Time.Thank You very mu
Hi Karina, thank you so much for this video. has helped me alot as i have about 1800 files to rename. One question i wanna ask is i have prefixes at the end that i wanna remove but they all are different eg. ACF1190 - Bus Shelter, ACF1191 -Taxi Shelter. i wanna remove all the prefix -Bus Shelter and -Taxi Shelter. how do i make it recognize the prefix at the end and remove those?
Okay this is the method that I came up with:
First open up windows command prompt and use this line of code:
rename "*-**.txt" "**-.txt"
This should remove everything on the right hand side of the dash.
Then open up powershell and use this line of code:
dir | Rename-Item -NewName {$_.name -replace " -", ""}
This should remove the " -" that is left over.
I tested this on 4 files and changed there names:
Previous names:
"ACF1190 - Bus Shelter.txt"
"ACF1191 -Taxi Shelter.txt"
"ACF1192 - Bus Shelter.txt"
"ACF1193 - Taxi Shelter.txt"
New names:
"ACF1190.txt"
"ACF1191.txt"
"ACF1192.txt"
"ACF1193.txt"
@@karinaadcock Thank you so much! this works, however a few of files, the prefixes were still attached, possibly because the prefix ended with a '-" eg. ACF1190 - Taxi Shelter - . i was doing try and error with the code, somehow still cant remove but i think i just probably have yet to understand how scripting works haha. I'll be thrilled if you ever have tutorial videos on breaking down the scripting for powershell/ cmd prompt! first ever tutorial ive come across that is super clear and concise !! Thanks again, saved me a ton of my time :)
Thankyou i been looking for this for hours.
It worked thank you very much. It's just your upspeak was a bit ear-rapey.