Is there a way to quickly delete the years off these files without doing it individually? Windows 10. TIA.

25 Comments

  1. weegee20

    If you install MS PowerToys, you can use the PowerRenamer.

  2. momomomomomomoto

    Bulk remake utility might do the trick

  3. Stack_of_HighSociety

    Ant Renamer is a free (really free, i.e. the source code is available) program that makes easier the renaming of lots of files and folders.

    I’ve been using it for years. https://antp.be/software/renamer

  4. speedemonsd

    Might wanna look into radarr, it’s a lifesaver when it comes to managing video libraries. It renames files,scrapes artwork,downloads, manages, organizes videos it’s pretty neat.

  5. Mattiams96

    Bulk Rename Utility is a very good tool. In this case you can set it to remove the first 6 to 7 characters, configure that correctly and it can remove the dates, and the –

  6. You can create a batch script that uses a for loop to go through every file in the directory, like [these examples](https://ss64.com/nt/for_r.html), then remove the first 5 characters from the variable like:

    set myFile=%%I
    set myFile=!myFile:~5!

    Then:

    move “%%I” “!myFile!”

  7. IuseArchbtw97543

    Id probably write a quick powershell script.

  8. BigBlackSeaCucumber

    Advanced Renamer has this feature

  9. SerinceMatet

    Back in ye olden times, I’d use Irfanview for this.

  10. jacky4566

    Probably not a good idea to post your “DVD” collection on the internet.

  11. wadonious

    I used a quick one line power shell loop to add a prefix to all files in a directory. I bet you could pretty easily make one to cut off the beginning

  12. rmpumper

    Total Commander is old as fuck, but still does the job.

  13. rapayne87

    You could ask ChatGPT to create you a PowerShell script to do this.

  14. JustDip7777

    Yes, you can bulk rename files to remove the years using a built-in tool in Windows 10 called PowerShell

    . Here’s how you can do it:

    1. Press `Win + X` and select “Windows PowerShell” or “PowerShell” from the list.
    2. Navigate to the directory containing the files you want to rename. For example, if the files are in `D:Movies`, you would type:
    “`
    cd D:Movies
    “`
    3. Use the following command to bulk rename the files by removing the years:
    “`powershell
    Get-ChildItem -File | ForEach-Object { Rename-Item $_.FullName ($_.Name -replace ‘s*d{4}s*-‘) }
    “`

    This command will look for any sequence of four numbers (representing years) preceded and followed by spaces and a hyphen, and remove them from the filenames.

    Please ensure you’ve backed up the files or the names of the files before proceeding, just in case anything goes wrong. Also, always double-check after renaming to make sure the files are named as desired. 😊👍

  15. Zom-be-gone

    Are we just gonna ignore the drive name?

  16. thelinuxnewbie

    Where did you get the entire disney archive 💀

  17. mpoumpiz

    you can write a quick powershell script if you are familiar with scripting ; it would only take a few lines

  18. ew435890

    Filebot is the best for bulk renaming media files, and it can pull the metadata for them automatically.

    I use it to rename movies and TV series for my Plex server. It could do all of these with like 3-4 mouse clicks. It will be able to pull the metadata and rename them with the movie name, IMDb number, year, etc. You can customize how you want it to rename them, and then do them all in one pass.

    I renamed my entire movie library with it a while back, it was about 6TB worth of movies. It took less than 5 minutes.

  19. ranggull

    Create a batch script and run it bruv. Open Notepad and throw the code in, save as a .bat file.

    Used ChatGPT to create this script that will delete the first 7 characters of all files in the specified directory. Just need to enter the directory that you want the script to run on.

    Should delete the four digits and the space dash space. Since its from ChatGPT tho, would be good to test it in a test directory to make sure it works.

    Edit: Just test ran it on my PC. The script works and removes the first 7 digits of all file names in the specified directory. I should probably test before posting untested scripts

    @echo off
    setlocal enabledelayedexpansion

    set “folderPath=C:YourFolderPath”

    for %%F in (“%folderPath%*”) do (
    set “fullPath=%%~dpF”
    set “fileName=%%~nxF”
    set “newFileName=!fileName:~7!”
    ren “%%F” “!newFileName!”
    )

    endlocal

Write A Comment