Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sesipod:windows:movedelindays [2018/01/20 04:45] (current)
Line 1: Line 1:
 +The following commands are for moving / deleting files in a folder after a set time limit in days.
  
 +deleting-
 +  forfiles -p "​C:​\what\ever"​ -s -m *.* /D -<number of days> /C "cmd /c del @path"
 +
 +moving-
 +
 +  forfiles -p "​C:​\what\ever"​ /m *.* /s /d -<number of days> /c "cmd /c move @file C:​\what\ever"​
 +  ​
 +  ​
 +  ​
 +__Last update 11-09-2014__