Main Area and Open Discussion > General Software Discussion
A software for compress file and able to find them first
Contro:
A software for compress file and able to find them first
I try to explain. Excuse my language.
I would to scan my hard disk (or disks) for a file with certain conditions.
By example : locate the file "abc.txt"
When find the file compress to a rar file.
That all.
But compress seperate each file found in his own folder.
By example :
y:\path1\abc.txt to y:\path1\abc.rar
y:\path1\path2\abc.txt to y:\path1\path2\abc.rar
That all I need
Best Regards
More complete more powerful.
:-*
MilesAhead:
Take a look at a port of Linux find command. Once you learn the syntax it's simple to have each result launch a command with the result itself as an argument.
http://gnuwin32.sourceforge.net/packages.html
Contro:
going
Best Regards
:P
Contro:
:-[
Miles is a little difficult for me. It's a wonderful soft package for the dos console.
Is there a soft more GUI or interactive for dummies ?
Best Regards
:P
eleman:
Copy the command line utility of winrar (rar.exe) into somewhere in the path (i.e. windows folder)
Put this in a batch file (*.cmd or *.bat) and run this in the relevant folder.
--- ---for %%1 in (*.txt) do rar m -x*.rar -m5 "%%1.rar" "%%1"
I know this does not scan the whole disk for subfolders, but only the current folder, but you can develop the batch file a bit.
MilesAhead's proposed solution may be easier though.
Navigation
[0] Message Index
[#] Next page
Go to full version