Created
July 24, 2010 07:49
-
-
Save mlabrum/488503 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# quick powershell script to find songs added in the last 20days and add them into winamp | |
cd "c:/music/folder" | |
foreach( $song in Get-Childitem –recurse | where-object {$_.lastwritetime –gt (Get-date).AddDays(-20) -and $_.extension -eq ".mp3"}){ | |
&'C:/Program Files (x86)/Winamp/winamp.exe' $song.fullname | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment