Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Rename multiple files as "Modified Date/Time" using cmd or Powershell

Try this in Powershell:

Get-ChildItem *.jpg | Rename-Item -newname {$_.LastWriteTime.toString("dd.MM.yyyy.HH.mm") + ".jpg"}

Tags:

Command Line

Powershell

Rename

Windows 7

Related

Can Windows 7 cipher.exe securely wipe USB drive? Does Chrome have a quick find shortcut similar to ' in Firefox? Open a new tab in the same directory How to avoid tilde ~ in Bash prompt? Taskkill.exe: don't throw an error if the process is not running Some Mac applications crash frequently, with "__THE_SYSTEM_HAS_NO_PORT_SETS_AVAILABLE__" in backtrace How do you run a gnu screen within a gnu screen? ZSH - output whole history? How to tell git which private key to use? How to convert .ppk key to OpenSSH key under Linux? Viewing zip archive contents using 'less' on OS X Does or will exFAT support symlinks?

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy