Results 1 to 2 of 2

Thread: Md5 Rename FileNames in folder

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Md5 Rename FileNames in folder

    This is my code, pls how to modify it to make it md5 filenames and rename it ?? or any other filenames obfuscation method ?? Thx

    Code:
    cd /path/dir
    for i in *; do mv "$i" "$i"; done

  2. #2
    Senior Member Rahul.Patil's Avatar
    Join Date
    Feb 2012
    Location
    Mumbai india
    Posts
    486
    Thanks
    10
    Thanked 50 Times in 47 Posts
    Rep Power
    8

    Default

    Quote Originally Posted by bash_sh View Post
    This is my code, pls how to modify it to make it md5 filenames and rename it ?? or any other filenames obfuscation method ?? Thx

    Code:
    cd /path/dir
    for i in *; do mv "$i" "$i"; done
    Please show us the example of input sample and expected output.
    Rahul Patil <http://www.linuxian.com>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Script must return filenames with no number
    By yentl227 in forum Shell scripting
    Replies: 4
    Last Post: 12th June 2012, 05:21 PM
  2. Move filenames based on date with different format
    By kunlun_11 in forum Shell scripting
    Replies: 2
    Last Post: 28th May 2012, 05:50 AM
  3. [Solved] Shell script filenames with numbers in it
    By mohitmehral in forum Shell scripting
    Replies: 4
    Last Post: 3rd March 2012, 12:07 AM
  4. How to set folder permission
    By enochalbert in forum Ubuntu / Debian
    Replies: 1
    Last Post: 25th September 2008, 11:19 PM
  5. Replies: 1
    Last Post: 25th October 2007, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •