How to remove prefixes of multiple files at once EASILY in Windows?

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024
  • The video illustrates how to rename or remove prefixes or suffixes of multiple files at once using Windows Powershell.
    Code used: get-childitem *.png | foreach { rename-item $_ $_.Name.Replace("Flag_of_", "") }

ความคิดเห็น • 75

  • @773group
    @773group 11 หลายเดือนก่อน +1

    I love how you started the video, Because I struggles for 3 hours before I fond your video! Thank you for the help !!!!!!!

  • @PrimeCode7
    @PrimeCode7 3 หลายเดือนก่อน +2

    Thank you very much I also struggled 1 hr for this very helpful
    Just a correction after selecting file and pressing shift you have to press right click not left.
    Thanks 😊

  • @squiggles3966
    @squiggles3966 7 หลายเดือนก่อน +22

    Thank you VERY much, just a tip for other users, if you need to rename files that ARENT .png, for example i was doing .mp3 replace that in the code " get-childitem *[INSERT FILE TYPE HERE] | foreach { rename-item $_ $_.Name.Replace("Flag_of_", "") }"

    • @Lloyx.
      @Lloyx. 7 หลายเดือนก่อน

      Thanks!

    • @gabrieldelatortilla1
      @gabrieldelatortilla1 6 หลายเดือนก่อน +1

      what if its a folder

    • @ChrisJohnson-pc3pd
      @ChrisJohnson-pc3pd 2 หลายเดือนก่อน

      the post i was looking for. well done.

  • @meinAkshayhoon
    @meinAkshayhoon 6 หลายเดือนก่อน +9

    i tried to use this code but got an error when i searched , it was because of special characters like "[ ]" can you please help

  • @rockgrit
    @rockgrit วันที่ผ่านมา

    The video was of great help.

  • @prathammishrah
    @prathammishrah 5 หลายเดือนก่อน +2

    didn't work for my mp3s. i'd recommend pinning the comment down there that gives the info for it. good video tho, thanks.

  • @klmoravec
    @klmoravec 6 หลายเดือนก่อน +1

    THANK YOU madam! 🙏Crystal clear video and straight to the point.

  • @jedison2441
    @jedison2441 11 หลายเดือนก่อน +1

    This is always great information, your two hours save me a lot of time.
    🙏Thankyou

  • @koalabear6576
    @koalabear6576 3 หลายเดือนก่อน

    Very useful powershell command ! Thanks !

  • @vinaymehtaphotography
    @vinaymehtaphotography หลายเดือนก่อน

    video is very helpful for me thanx

  • @lucasgaitan_
    @lucasgaitan_ หลายเดือนก่อน

    Thank you! Greats fom Brasil!

  • @Q8husky
    @Q8husky 5 หลายเดือนก่อน

    Thank you very much for this explanation. I have searched a lot for this method, and today you explain the topic simply and in one minute. This thing really deserves praise and thanks, but I have an important question!!
    How can I change the names of files from the outside and not their content from the inside??
    Example
    I have pictures of my travels and file titles
    12-3-2020 - Japan
    3-5-2016 - Thailand
    How can I delete the history so that I want the file to be only in the name of Japan and Thailand without the year?

  • @chaitraligandhi1688
    @chaitraligandhi1688 3 หลายเดือนก่อน

    Thank you very much. This was very helpful.

  • @priyanshitripathi1845
    @priyanshitripathi1845 4 หลายเดือนก่อน +2

    What if the prefix are different for all but no. Of letters is same

  • @Leequidude
    @Leequidude หลายเดือนก่อน

    Thank you!

  • @szkokee
    @szkokee 2 หลายเดือนก่อน

    Very useful, thank you!

  • @arthur_n
    @arthur_n 6 หลายเดือนก่อน +2

    Thank you very much, this is very helpful!
    Would you be able to share the code for renaming multiple folder?
    And is there a way to also change the file names of files that are inside subfolders?

    • @zainabbajaj
      @zainabbajaj  6 หลายเดือนก่อน

      The code is in the description. Code used: get-childitem *.png | foreach { rename-item $_ $_.Name.Replace("Flag_of_", "") }
      I have never tried renaming files inside subfolders.

    • @gabrieldelatortilla1
      @gabrieldelatortilla1 6 หลายเดือนก่อน

      up

    • @gabrieldelatortilla1
      @gabrieldelatortilla1 6 หลายเดือนก่อน

      ​@@zainabbajaj well that wasnt helpful

  • @sudhanshusharma5742
    @sudhanshusharma5742 ปีที่แล้ว +1

    It was very helpful Thank you !😊

  • @32aque
    @32aque 9 หลายเดือนก่อน

    This was big help. Thank you!

  • @ognjenjokic2104
    @ognjenjokic2104 7 หลายเดือนก่อน +1

    Thank you very much!

  • @Impukes
    @Impukes 16 วันที่ผ่านมา

    Thanks!

  • @Cvekabird
    @Cvekabird ปีที่แล้ว +3

    thanks so much

  • @rafaelainediy3767
    @rafaelainediy3767 9 หลายเดือนก่อน

    thank you!! This was really helpful!!

  • @TKUltra971
    @TKUltra971 4 หลายเดือนก่อน

    Thank you very much! You are the best, god bless.

  • @TKRPMUSIC
    @TKRPMUSIC 9 หลายเดือนก่อน

    You’re awesome 🎉 thank you so much!

  • @makeyourmusichappen
    @makeyourmusichappen 8 หลายเดือนก่อน +1

    THANK YOU

  • @Vurt72
    @Vurt72 6 หลายเดือนก่อน

    it kind of works, but it inserts a space which makes it completely unusable for me.

  • @mapex311
    @mapex311 3 หลายเดือนก่อน

    thanks! absolutely ridic msoft does not have a native find and replace feature in win explorer.

  • @KaptanSinghkp
    @KaptanSinghkp 2 หลายเดือนก่อน

    itss work thanks

  • @aimmewati8852
    @aimmewati8852 10 หลายเดือนก่อน

    Thanks , Its Working

  • @mugiraharjo6270
    @mugiraharjo6270 26 วันที่ผ่านมา

    how about replace suffixes ? at end of file name or folder name

  • @TheFaseehun
    @TheFaseehun 3 หลายเดือนก่อน

    Thank you.

  • @truerequiem
    @truerequiem 4 หลายเดือนก่อน

    What if they are numbers though and the files all have a different number?

  • @noelsucgang
    @noelsucgang 9 หลายเดือนก่อน

    Thank you very much for sharing your knowledge.

  • @alexfonseca5076
    @alexfonseca5076 10 หลายเดือนก่อน

    Life saver.

  • @monotoshnaskar5368
    @monotoshnaskar5368 9 หลายเดือนก่อน

    thanks a lot....... aabhi chutki bajate hi all done :)

  • @shortsworld4626
    @shortsworld4626 2 หลายเดือนก่อน

    How to delete from index x to y in pdf

  • @c.r2135
    @c.r2135 3 หลายเดือนก่อน

    god bless u

  • @GhazalehGha
    @GhazalehGha 2 หลายเดือนก่อน

    did not work for me

  • @mugiraharjo6270
    @mugiraharjo6270 26 วันที่ผ่านมา

    How to rename non ascii character, like chinese font

  • @lopserdff
    @lopserdff หลายเดือนก่อน

    i just want to remove the numbers on my files

  • @bigben20
    @bigben20 7 หลายเดือนก่อน

    thank you

  • @Goefrei0516
    @Goefrei0516 4 หลายเดือนก่อน

    Didn't seem to do anything on mine, the command runs but doesn't rename shit

  • @gabrieldelatortilla1
    @gabrieldelatortilla1 6 หลายเดือนก่อน

    what if its a folder???? 😭😭😭😭

  • @Naffez
    @Naffez 3 หลายเดือนก่อน

    Working on windows 11?

  • @LegacyLegends-yt
    @LegacyLegends-yt 9 หลายเดือนก่อน +1

    didnt work

    • @zainabbajaj
      @zainabbajaj  9 หลายเดือนก่อน

      Which part didn't work?

  • @hamitcankibar2404
    @hamitcankibar2404 หลายเดือนก่อน

    That was awesome information, thank you. What if the names i want to change are like "DSC04567 - ABC997865" and i want to remove everything before the "ABC997865". does anyone can come up with an idea how should i write the code?

  • @RaNa-ft7uf
    @RaNa-ft7uf 2 หลายเดือนก่อน

    Not working

  • @okidk-vl4xq
    @okidk-vl4xq 11 หลายเดือนก่อน

    thanks

  • @uthayakumar5782
    @uthayakumar5782 6 หลายเดือนก่อน

    chicken 65 pakoda road side recepie sollunga annan

  • @farhantanveer5733
    @farhantanveer5733 8 หลายเดือนก่อน

    Please provide the full command

    • @zainabriaz628
      @zainabriaz628 8 หลายเดือนก่อน

      It's also in the description of the video: get-childitem *.png | foreach { rename-item $_ $_.Name.Replace("Flag_of_", "") }

  • @abdulsalam-ch2us
    @abdulsalam-ch2us ปีที่แล้ว

    HELLO MAAM IT IS SHOWING ERROR

    • @zainabbajaj
      @zainabbajaj  ปีที่แล้ว

      What are you trying to remove?

  • @YogeshKumar-wp9zp
    @YogeshKumar-wp9zp ปีที่แล้ว

    For music files?..

    • @zainabriaz628
      @zainabriaz628 8 หลายเดือนก่อน

      Never tried it with music files

    • @user-fv1om3qz3w
      @user-fv1om3qz3w 7 หลายเดือนก่อน +1

      after get-children * .mp3

  • @Amanjojo-yo
    @Amanjojo-yo 5 หลายเดือนก่อน

    B r i t i s h L i t e r a t u r e P y q s a n a l y s i s my file names are like this how to fix it

  • @buster5661
    @buster5661 หลายเดือนก่อน

    it doesnt work for me. I am trying to replace the prefix for files with [AVI]
    rename-item : Cannot rename because item at 'F:\Videos\xyz-1080p\Output\[AWI]
    xyz - S02E17 [1080p] [Multi-Audio] [06130AE3].mkv' does not exist.
    At line:1 char:33
    + ... childitem *.mkv | foreach { rename-item $_ $_.Name.Replace("[", "") }
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [Rename-Item], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand

    • @sakori12
      @sakori12 หลายเดือนก่อน

      same

    • @buster5661
      @buster5661 หลายเดือนก่อน

      @@sakori12 I got it to work, it requires you to put quotations "file" on each file. But whenever i did this, sometimes i got weird symbols. try it and maybe it will work for you

  • @mipe7755
    @mipe7755 9 หลายเดือนก่อน

    Thanks!