Skip to content

Instantly share code, notes, and snippets.

@darkaxl darkaxl/
Created Feb 27, 2018

What would you like to do?
for i in $(ls -1 workdir/); do echo $i| awk -F'.' '{ parte1=substr($1,1,17); parte2=substr($1,18,1); parte3=substr($1,19,18); parte2++ ;print "cp workdir/"$0,"newfiles/"parte1 parte2 parte3"."$2"."$3 }';done | bash

This comment has been minimized.

Copy link
Owner Author

darkaxl commented Feb 27, 2018

Script en bash, ganador del segundo lugar del #SysArmyMx Challenge:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.