DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

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

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
IDEA: Destop Files/Folders to Date-Folder Catogarizer
« on: February 28, 2009, 05:26 PM »
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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #1 on: February 28, 2009, 05:46 PM »
What about seedling's program on DC, File/Folder Date Organizer:
http://www.donationcoder.com/forum/index.php?topic=14216.0

apfel

  • Participant
  • Joined in 2006
  • *
  • Posts: 63
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #2 on: February 28, 2009, 06: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, 06:18 PM by apfel »

SleepingWolf

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 118
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #3 on: March 01, 2009, 02:06 PM »
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
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #4 on: March 10, 2009, 12:03 PM »
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
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #5 on: April 10, 2009, 06: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


Code
;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
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #6 on: April 13, 2009, 08: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
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #7 on: April 13, 2009, 07: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
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #8 on: April 13, 2009, 09: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
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #9 on: June 24, 2009, 11: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, 11:20 AM by apfel »

tmpusr

  • Instantiation stuck in meatspace with no backup
  • Member
  • Joined in 2005
  • **
  • Posts: 154
Re: IDEA: Destop Files/Folders to Date-Folder Catogarizer
« Reply #10 on: July 02, 2009, 09: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
http://www.donationcoder.com/forum/index.php?topic=6196.0

Original address: https://www.donationcoder.com/forum/index.php?topic=17224.0