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!

Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts

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 No comments:
Labels: bash, files, linux, rename
Older Posts Home
Subscribe to: Posts (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.