Release V.1.0
Organize with a SNAP
The precision engineered desktop tool that brings absolute order to your chaotic directories in seconds.
→
Your Files, Your Privacy
Runs Locally
No data ever leaves your machine.
No Internet Required
Works fully offline for maximum security
Code Transparency
The code is open source and doesn't contain any hidden malware
SAFETY LOGIC
Never worry about overwrites. If "Report.pdf" exists, We automatically create "Report (1).pdf".
// Select source and destination directories
public class PathPicker {
public static void main(String[] args) {
Path source = Paths.get("C:/Downloads");
Path target = Paths.get("C:/Organized");
// Initialize the Snap logic
Organizer.execute(source, target);
}
}
// Core routing logic for files
public class OrganizerLogic {
public static void execute(Path src, Path dst) {
Files.walk(src).forEach(file -> {
if (Files.isRegularFile(file)) {
String ext = getExtension(file);
Path targetDir = dst.resolve(ext);
moveToDir(file, targetDir);
}
});
}
}
// Resolves naming conflicts safely
public class FileUtils {
public static Path getUniquePath(Path target) {
int count = 1;
Path iter = target;
while (Files.exists(iter)) {
String name = getBaseName(target) + " (" + count + ")." + getExt(target);
iter = target.getParent().resolve(name);
count++;
}
return iter;
}
}
COMMUNITY HUB
Loved by 0 people
Thanks!
Raise your issue here
Message sent successfully!
The Fuel Station
Every coffee fuels more code.
SCAN TO PAY