Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash rename files based on date modified

for f in *.jpg; do mv -n "$f" "$(date -r "$f" +"%Y%m%d_%H%M%S").jpg"; done
Comment

PREVIOUS NEXT
Code Example
Shell :: git cherry pick resolve conflict 
Shell :: pip command to install yaml 5.1.2 
Shell :: kill wine process 
Shell :: duplicate line intellij mac 
Shell :: git discard changes to one file 
Shell :: cannot find module json-loader 
Shell :: nestjs dockerfile 
Shell :: how to install .bin file in linux 
Shell :: [!] Android Studio (version 4.1.0) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. 
Shell :: undo airmon-ng check kill 
Shell :: mac terminal hide username 
Shell :: how to upgrade react in cra 
Shell :: install adonisjs 
Shell :: how to restart raspberrypi via ssh 
Shell :: echo -e flag 
Shell :: valgrind memory leak 
Shell :: infinite loop bash 
Shell :: apt-get install certbot 
Shell :: install rbenv 
Shell :: prolog how to run 
Shell :: ubuntu vim-plug install 
Shell :: xcode There is not enough disk space available to install the product. 
Shell :: linux get ip by domain 
Shell :: open finder from terminal 
Shell :: pip install pygame 
Shell :: add current directory to path 
Shell :: bittorrent download linux 
Shell :: check nativescript version 
Shell :: install openvino ubuntu 
Shell :: yarn start --reset-cache 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =