software et al: odds & ends or bag of tricks

    i'm populating this site with pieces of code, tips, notes, ...
    any feedback will be greatly appreciated!

2007/08/27

rename files


    for i in 2mD* ; do
    mv $i test-"$i";
    done;


    for i in P* ; do
    new=`echo $i | sed s/"Picture "/course-Picture_/g`;
    mv "$i" $new;
    done;


File re-namer (http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.3)

File re-namer (http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.4)
Posted by rhXX at 13:41
Labels: bash, files, linux, rename

No comments:

Post a Comment

Older Post Home
Subscribe to: Post Comments (Atom)
Powered By Blogger

Blog Archive

  • ▼  2007 (25)
    • ▼  Aug 2007 (4)
      • rename files
      • ICAO Phonetic Alphabet (alpha bravo charlie)
      • nedit / keyboard shortcuts (accelerator keys) are ...
      • 101 useful Run Commands in Windows XP
    • ►  Jun 2007 (14)
    • ►  May 2007 (5)
    • ►  Apr 2007 (2)

unassorted links

  • BASH Programming - Introduction HOW-TO
  • blogger dummies guide
  • blogger for dummies
  • blogger for dummies
  • blogger testing geta
  • bloggers tips and tricks
  • ODI's software site (nice collection of software notes)

unassorted groups

  • HELP Google Blogger
  • HELP Google Calendar
  • HELP Google Gmail
  • HELP Google Groups
  • HELP Mozilla Firefox
  • HELP Mozilla Thunderbird
  • LANG ASM
  • LANG C
  • LANG C++
  • LANG Python
  • LINUX misc
  • LINUX networking
  • WINDOWS XP (en)
  • WINDOWS XP (sp)

About Me

rhXX
View my complete profile

counter


Picture Window theme. Theme images by enot-poloskun. Powered by Blogger.