Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: vesnick on September 10, 2006, 12:30:57 PM
-
Hi,
I have been using sme v7 with backup2 usb. Working fine.
I now have a folder called 568048 which stores 21 rar parts on the usb hdd.
I would like to do a search through all the rar's to find a file and would like to do it using putty. Can any one show me the rar commands and or switch that will allow me to do this. At the moment I can search and locate a file only 1 rar at a time using midnight commander. Thanks
-
Hi Vesnick,
Can you please tell me where you got the backup2usb contrib. Is it the same as dmay's backup2? Thanks.
Sorry I can't help you with your problem.
Regards,
Del
-
del
> Is it the same as dmay's backup2?
In the backup2 contrib, you can select the destination.
"Two methods of backups are supported. Either backing up to a network accessible Windows workstation share [ backup2ws ] or an attached USB storage device [ backup2usb ]"
-
vesnick----
The multiple rar files equate to the specified destination maxima.
If the 2GB limit is OK then just increase the max file size (2000).
The (Windows) WinRAR application has functionality to inspect
multiple RARs or just the given single RAR. I don't know how
you might be able to get the transport mechanism (PuTTY)
to do any further application stuff.
----best wishes, Robert
-
Hi Fern,
Thanks for the info, I may try it, does the USB drive get mounted automatically or do I have to do some command line stuff? Thanks.
Del
-
Hi,
I have been using sme v7 with backup2 usb. Working fine.
I now have a folder called 568048 which stores 21 rar parts on the usb hdd.
I would like to do a search through all the rar's to find a file and would like to do it using putty. Can any one show me the rar commands and or switch that will allow me to do this. At the moment I can search and locate a file only 1 rar at a time using midnight commander. Thanks
If you need to search for content within a file, mc will do this via the Find File command and can search through all rar archives. If you know the filename you are looking for, then rar's list command will find all matches. Note: single quotes are mandatory to encapsulate wildcard *.
mount /media/usbdisk
/usr/bin/rar l '/media/usbdisk/$job/*.rar' '$file*'
Example:
[root@sme ~]# /usr/bin/rar l '/media/usbdisk/911.usb/*.rar' 'configuration*'
RAR 3.60 Copyright (c) 1993-2006 Alexander Roshal 5 Aug 2006
Shareware version Type RAR -? for help
Volume /media/usbdisk/911.usb/911.usb.2006.09.11.part01.rar
Name Size Packed Ratio Date Time Attr CRC Meth Ver
-------------------------------------------------------------------------------
configuration 8241 8241 100% 11-09-06 15:24 -rw-r----- 9BC73214 m0g 2.0
-------------------------------------------------------------------------------
1 8241 8241 100% volume 1
Volume /media/usbdisk/911.usb/911.usb.2006.09.11.part02.rar
0 files
...
Darrell
-
Hi everyone,
Thanks for all your comments and support.
Darrell.
I really do appreciate your help, it's perfect!
Your backup2usb contrib is very reliably and I use it as my backup solution.
I have 5 hdd usb units( mon to fri ).
Now with your help searching through multiple *.rar is simple.
Regards
vesnick