but : 'unmark /home/myfolder' 'unmark home/myfolder' don't work 'cd home' 'unmark myfolder' works
so 'unmark $(cat file)' doesn't work (I've tested it to be sure and confirm). Rich a écrit : > unmark $(cat file) ? > if i understood the question :) > > On 2008.02.13. 12:14, le dahut wrote: >> Hello, >> >> I'm launching 'restore' from command line with : >> echo -e "restore all\n5\ncd var\ncd lib\nunmark >> ldap\ndone\n2\nyes\n"|bconsole -c /etc/bacula/bconsole.conf >> >> As you can see, I unmark some files, but I've more files to unmark and >> this way looks very ugly to me. Is there a way to specify all those >> arguments in a file and only launch one command in bconsole to run the >> restore job ? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users