Results 1 to 4 of 4

Thread: Manipulation of folder's content.

  1. #1
    Bratsch
    Guest

    Manipulation of folder's content.

    Hi everybody.

    This request for help does not have to do with reversing per se, but you are the crowd that knows most of the tricks, so there it goes:

    I have 5560 files in a zip disk. They were transferred from an Mac machine to IBM format. As it is costummary, the name of the file gets a '!' symbol in front of it. ie: "num0001.seq" became "!num0001.seq". So far no problem. Now I have to put this files on a unix server. Unix does not like the files starting with '!'. I don't think I want to rename 5560 files manually, one by one!.
    So here is my problem. I remembered good old Norton's Diskedit DOS version. I was planning to access the disk and change the attribute 'D'of the subdirectory that contains my files , open it with a text editor and replace all the '!' with something else, but the old diskedit version I have does not work with 32 bit FAT, and does not recognize ZIP drives. While coding a C utility to do the renaming may do the trick, I think there must be a simpler way. Questions to the public:

    Does anybody know a utility to manipulate folders at low level?
    Does anybody know a diskeditor like utility that works with FAT32 and or ZIP drives and can manipulate subdirectory entries (WINHEX can't)?
    Does anybody know a simple way to rename 5K plus files without going crazy?

    Thank you for your help.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    carpathia
    Guest
    Personally I'd abandon all plans of low level editing and other wonderful exercises. You could go for a cheap n dirty batch file solution..

    output all your filenames to a file DIR /B > files.txt

    open files.txt in ultraedit

    construct an ultraedit macro to take each filename, remove the ! and build a move command from it

    run the batch file


    Alternatively, dont be so lazy and just write an app to do it :-)
    Its so mundanely trivial you could have coded it in the time I've written this reply!

    Carpathia
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  3. #3
    cronos
    Guest
    Or you could just type
    ren !*.* a*.*

    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    Bratsch
    Guest
    Thankyou Carpathia for the advise and the Chastising I deserve it. I do not write code in a routine basis, so even a trivial program implies dusting my rusty skills.
    The Ren !*.* A*.* worked! thanks. For some obscure reason it does not work in a ZIP drive (?). But once I moved every thing to a HD it went smoothly.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. DLL in folder - Imported by ..which exe/dll/sys?
    By live_dont_exist in forum Advanced Reversing and Programming
    Replies: 2
    Last Post: April 15th, 2013, 20:59
  2. IDA PRO Disassembly Window Manipulation
    By Aimless in forum Tools of Our Trade (TOT) Messageboard
    Replies: 8
    Last Post: March 20th, 2013, 14:50
  3. Google VS Oracle - copied content
    By 0x0f1f in forum Off Topic
    Replies: 0
    Last Post: May 8th, 2012, 09:43
  4. Change memory content while debugging with IDA Pro
    By joblack in forum Tools of Our Trade (TOT) Messageboard
    Replies: 0
    Last Post: September 15th, 2010, 21:56
  5. unlock file or folder , i hope this tool might be useful :)
    By lcx2005 in forum Malware Analysis and Unpacking Forum
    Replies: 5
    Last Post: June 13th, 2010, 07:18

Bookmarks

Posting Permissions

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