New to Linux, don't understand this error
Hello!
I am new to Linux and I am receiving an error I am not understanding. I am trying to convert *.asc files to another format and the error I am getting is: terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_opt ions::multiple_occurrences> >' what(): multiple_occurrences Aborted I have ~1500 files in each directory and I am trying to convert all of them using ./ execute -i /*.asc. Thank you for your help! |
No idea what the error means, but I do see some problems in your command.
First, that should be "./execute", assuming the binary is called "execute" and is located in your current directory. "./ execute" (with a space) means something very different. Second, you're using "/*.asc". That's equivalent to writing "C:\*.asc". Unless these asc files are actually located in the root of the filesystem, it won't work. You need to decide whether you want to use the absolute path or the relative path to the files. Lastly, most programs can't accept multiple files as input when they use a flag such as "-i". Remember, the shell expands the globbing pattern BEFORE the program ever sees it. So your command becomes: Code:
./execute -i file1.asc file2.asc file3.asc ... |
please show us
|
All times are GMT -5. The time now is 04:30 PM. |