Folder Making/Edit Software?

Discussion in 'Et Cetera, Et Cetera' started by B_ScaredLittleBoy, Jan 20, 2008.

  1. B_ScaredLittleBoy

    B_ScaredLittleBoy New Member

    Joined:
    Feb 24, 2007
    Messages:
    3,337
    Likes Received:
    8
    Hi.

    So I have about...100 or so word documents and I want to have them all put into their own folders (one per file). Is there a software program that will do this for me? Because doing it manually would be tedious.

    I have Bulk Rename Utility that will rename/re-number the folders but only once they have been created.

    So what I want is a program that will create folders, one per file etc.
     
  2. dong20

    Gold Member

    Joined:
    Feb 17, 2006
    Messages:
    6,130
    Likes Received:
    5
    Location:
    The grey country
    If you're on XP; Install IIS and use ASP with the FSO to do it. Otherwise have a gander at Folder Maker - batch folder creation batch file creation batch folder creator - create folders quickly :: skyjuicesoftware.com
     
  3. ManlyBanisters

    Gold Member

    Joined:
    Mar 19, 2007
    Messages:
    12,807
    Likes Received:
    8
    100? Just write a batch file that creates the new directory and moves the file. It's a cut and paste job - take you about 10 mins.
     
  4. Industrialsize

    Staff Member Moderator Gold Member

    Joined:
    Dec 23, 2006
    Messages:
    24,319
    Albums:
    2
    Likes Received:
    2,180
    Gender:
    Male
    Location:
    United States
    my advice.......get a MAC
     
  5. HazelGod

    Gold Member

    Joined:
    Dec 11, 2006
    Messages:
    7,531
    Albums:
    1
    Likes Received:
    9
    Gender:
    Male
    Location:
    The Other Side of the Pillow
    Or any Unix type operating system. I could do what you're asking in a three-line shell script using awk.
     
  6. ManlyBanisters

    Gold Member

    Joined:
    Mar 19, 2007
    Messages:
    12,807
    Likes Received:
    8
    Oh - yeah - cos like that is the best advice for an automated move of a 100 piddling little word docs - get a whole new fucking system.

    Fucking Brilliant. :tongue:
     
  7. OldPArtner

    OldPArtner New Member

    Joined:
    Jun 7, 2006
    Messages:
    173
    Likes Received:
    0
    Gender:
    Male
    Is not a batch file the same kind of thing as a shell script?

    I mean, I haven't used them in a while, but isn't there some way to do something like this:
    Code:
    LET $a$ = LIST *.doc
    LET $i$ = 0
    WHILE $a$[$i$] != NULL
     LET $b$ = GET FILENAME FROM $a$[$i$]
     MKDIR $b$
     MOVE $a$[$i$] $b$
     $i$++
    That is, can't you still loop around the elements of the folder that share some characteristic? I mean I know the MKDIR and MOVE commands are there, but I'm not sure about the rest.

    Anyway, if you're feeling really lazy, just install Cygwin and you'll get a new Unix-style shell available and will be able to write some decent shell scripts.
     
  8. Industrialsize

    Staff Member Moderator Gold Member

    Joined:
    Dec 23, 2006
    Messages:
    24,319
    Albums:
    2
    Likes Received:
    2,180
    Gender:
    Male
    Location:
    United States
    with a MAC it's all about the drag and drop......
     
  9. dong20

    Gold Member

    Joined:
    Feb 17, 2006
    Messages:
    6,130
    Likes Received:
    5
    Location:
    The grey country
    Akin to curing a chesty cough with a lung transplant. :smile:
     
  10. B_ScaredLittleBoy

    B_ScaredLittleBoy New Member

    Joined:
    Feb 24, 2007
    Messages:
    3,337
    Likes Received:
    8
    Unless someone wants to give me the command(s), I need another program.

    I want the folder names to be made from the file (.doc) names and each file to be automatically put in its own folder...
     
  11. ManlyBanisters

    Gold Member

    Joined:
    Mar 19, 2007
    Messages:
    12,807
    Likes Received:
    8
    I'll write the batch file for you - PM me.
     
  12. HazelGod

    Gold Member

    Joined:
    Dec 11, 2006
    Messages:
    7,531
    Albums:
    1
    Likes Received:
    9
    Gender:
    Male
    Location:
    The Other Side of the Pillow
    Nobody said anything about a new system. Linux installs on the same system you have and handles Windows filesystems quite nicely. In fact, it doesn't even have to be installed...it can be run from a CD as needed.

    Did I say I could do it in three lines? My mistake...it takes only one:
    Code:
    ls -p | grep -v \/ | awk -F "\n" '{system("mkdir \""$1\b\b\b\b"\"") ; system("mv \""$1"\" \""$1\b\b\b\b"\"")}'
    Boot from a Linux Live CD, switch into the directory where your files are, and run that command from a prompt. Done.
     
  13. ManlyBanisters

    Gold Member

    Joined:
    Mar 19, 2007
    Messages:
    12,807
    Likes Received:
    8
    Does SLB have a Linux Live CD?
     
  14. Hellboy0

    Gold Member

    Joined:
    Sep 1, 2007
    Messages:
    2,458
    Albums:
    1
    Likes Received:
    63
    Gender:
    Male
    Location:
    West Coast Australia
    Yup...what he say!
     
  15. HazelGod

    Gold Member

    Joined:
    Dec 11, 2006
    Messages:
    7,531
    Albums:
    1
    Likes Received:
    9
    Gender:
    Male
    Location:
    The Other Side of the Pillow
    If not, he could download one in less time than it's taken this thread to turn retarded... :tongue:
     
  16. B_ScaredLittleBoy

    B_ScaredLittleBoy New Member

    Joined:
    Feb 24, 2007
    Messages:
    3,337
    Likes Received:
    8
    It looks...so complicated. I'll look into it tomorrow...its late now and is no time for booting or prompting :tongue:
     
  17. ManlyBanisters

    Gold Member

    Joined:
    Mar 19, 2007
    Messages:
    12,807
    Likes Received:
    8
    Good - I'm busy getting drunk!! Tom to you talkorrow!! :tongue:

    (It's not in the least bit complicated - you big jobbie!!)
     
  18. B_ScaredLittleBoy

    B_ScaredLittleBoy New Member

    Joined:
    Feb 24, 2007
    Messages:
    3,337
    Likes Received:
    8
    I love it when you talk dirty to me
     
  19. OldPArtner

    OldPArtner New Member

    Joined:
    Jun 7, 2006
    Messages:
    173
    Likes Received:
    0
    Gender:
    Male
    Here's a Linux LiveCD that is easy to download and burn (and btw CD-RWs aren't that expensive anymore): DSL information

    Another idea is to install Cygwin Information and Installation and start up bash and then copy-paste that code into the shell; don't be too worried about installing all the bells and whistles, because you can just restart setup.exe later if you want to try more Unix-on-Windows goodness:biggrin1:
     
Draft saved Draft deleted