Sorry but I'm quite fresh in Linux and I need a bit more details on how to create shell script and replace smbclient.
Christophe Ourliac Matthey s.r.o. Arcelor Group Predlická 453/26 400 01 Ústí nad Labem Tel: +420 477 757 122 Fax: +420 477 757 100 Mobile: +420 602 746 853 Email: [EMAIL PROTECTED] -----Message d'origine----- De : Les Mikesell [mailto:[EMAIL PROTECTED] Envoyé : jeudi 25 mai 2006 14:41 À : Ourliac Christophe Cc : Justin Best; backuppc-users@lists.sourceforge.net Objet : RE: [BackupPC-users] Understanding parameters smbclient On Thu, 2006-05-25 at 02:35, Ourliac Christophe wrote: > I tried it but I get error message that exec mistake so I imagine I was > unable to write properly the arguments > > How can I see the value of the parameters when I launch backup, do > breakpoints exist ? Perl has a -d option that lets you debug interactively with breakpoints, etc. but I'm not sure how to use it with a server running in the background. One quick test would be to replace smbclient with a shell script that does something like: #!/bin/sh echo $0 >/tmp/cmd_file env >/tmp/env_file Then you can see the exact command line and environment settings that were passed. -- Les Mikesell [EMAIL PROTECTED] ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/