--> cat filedate.sh #!/bin/bash # jm 30 Jan 2015 - filedate.sh # # use this to name files in a directory according to their date. # # echo "ls -l | grep -v ^d | sort | awk '{print "mv "$9" "$8"_"$6"_"$7"_"$9}' | \ # sed -e s'$..:..$2014$g' | sed -e s'$2015_Dec$2014_Dec$g' | sed -e s'2014_Jan$CHECK_Jan$g' > cleanup.files.sh.txt" # then edit the file to make sure it does what you want, then sh ./cleanup.files.sh.txt # # # echo "ls -l |
The Art of Linux System Administration published by O'Reilly Media Study Guide for the LPIC-2 Certification Exams |
![]() Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview of Linux Commands click for an image of the 5 essential Linux commands An Intro to Linux |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |