I have a directory full of directories that are all named in the following manner:

#####_alpha_name


I need them renamed to just:

#####


Is there an easy way via the command line to truncate them to just the first five characters (which would be just their ID number)?


Attachment: smime.p7s
Description: S/MIME cryptographic signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to