topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 11:41 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Destop Files/Folders to Date-Folder Catogarizer  (Read 12762 times)

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
IDEA: Destop Files/Folders to Date-Folder Catogarizer
« on: February 28, 2009, 11:26 AM »
Hi,
small Idea for massive internet users, who download a lot of freeware stuff to the desktop.
Maybe someone could code a program, which stays in tray and waits until shutdown to move all files/folder to a special folder with the Date (and time) as Name (DD.MM.YYYY), except some special permanent files/folders.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #1 on: February 28, 2009, 11:46 AM »
What about seedling's program on DC, File/Folder Date Organizer:
https://www.donation...ex.php?topic=14216.0

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #2 on: February 28, 2009, 12:16 PM »
I just want move all files/folders into a Folder with the current Date as name and not sort them in different folders with creation dates... The program would be right if such a option is aviable.
« Last Edit: February 28, 2009, 12:18 PM by apfel »

SleepingWolf

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 118
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #3 on: March 01, 2009, 08:06 AM »
I'm not sure if Filenanny would work either. But either way it would help to inform the software authors of your requests via these forums.

A link to Filenanny.zip may be found on the posting below. Not sure if it is the most recent version though or if AK has a DC sub-site now (a very quick search didn't help me).

https://www.donationcoder.com/forum/index.php?topic=9357.msg136947#msg136947
-------------------------------------------

Question everything, use a fact-checker.
Respect yourself and respect others.
Peace out!

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #4 on: March 10, 2009, 07:03 AM »
there are some tools here in DC that partly does this, such as Desktop Teleporter by tchikien and Skrommel's MoveIt.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #5 on: April 10, 2009, 01:30 PM »
 :) Try MoveToDate!

Moves files from the desktop to a folder named the current date.

Just edit the first lines to change the source and target folders, what files to ignore and if it should move when the program starts or ends.

Skrommel


;MoveToDate.ahk
; Moves files from the desktop to a folder named the current date
;Skrommel @ 2009

from=%A_Desktop%          ;Where to look for files
to=%A_Desktop%            ;Where to move the files
name=Moved                ;Name of the base folder
ignore=%name%,Notepad2    ;Comma separated list of file names to ignore, no unnessesary spaces!
moveonexit=0              ;0=move instantly  1=move when the program ends

#SingleInstance,Force
#NoEnv
#Persistent,On

applicationname=MoveToDate

If moveonexit=0
  Goto,MOVE
OnExit,MOVE
Return


MOVE:
date:=A_YYYY "-" A_MM "-" A_DD " " A_Hour "-" A_Min
FileCreateDir,% to "\" name "\" date
Loop,% from "\*.*",1,0
{
  TrayTip,%applicationname%,% "Moving`n " A_LoopFileLongPath "`nto`n " to "\" name "\" date "\" A_LoopFileName
  If A_LoopFileName Contains %ignore%
    Continue
  IfInString,A_LoopFileAttrib,D
    FileMoveDir,%A_LoopFileLongPath%,% to "\" name "\" date "\" A_LoopFileName
  Else
    FileMove,%A_LoopFileLongPath%,% to "\" name "\" date "\" A_LoopFileName
}
ExitApp

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #6 on: April 13, 2009, 03:51 AM »
Holy Cow, thanx.... lose sight of this thread!! I Will try it!  :-*
Will it also move the folders or only files?

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #7 on: April 13, 2009, 02:14 PM »
 :) Both files and folders. If you want only one, put a semicolon in front of either FileMove or FileMoveDir.

Skrommel

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #8 on: April 13, 2009, 04:23 PM »
Would be cool if you could add this small script into MoveOut as a target folder variable or something like this with option to change the YYYY-MM-DD layout.

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
    • View Profile
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #9 on: June 24, 2009, 06:19 AM »
Found a Bug, somehow the MoveOnExit option doesn't work.

Feature suggestion: Move the settings into a ini file.
« Last Edit: June 24, 2009, 06:20 AM by apfel »

tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #10 on: July 02, 2009, 04:30 PM »
More precision:

4.2 Activity density (creation date). Example: a bunch of files have been created (usually downloaded) between 1830-1930 with little time between them. This pattern, the untypically small interval between creation/modification dates, would be recognized and they would be grouped under "20061116 1830-1930". Then some time has passed with few created files. Another rather continuous file creation stream occurs 2210-2240. They would be grouped too.

See the full post
https://www.donation...dex.php?topic=6196.0