[cs631apue] HW2 path exist question

Tyler Romeo tromeo at stevens.edu
Sat Sep 19 13:22:37 EDT 2015


Indeed, just exit with an error message.

-- 
Tyler Romeo
Stevens Institute of Technology
Class of 2016

On Sat, Sep 19, 2015 at 10:47 AM, Julian Sexton <jsexton at stevens.edu> wrote:

> >> For command `tcp file1 dir/subdir/subsubdir/file2`, what if directory
> pathname is not exist? Create such a dir or exit with error message?
>
>
>
> The standard `cp` command just gives an error message for this
>
>
>
>
>
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20150919/53e73150/attachment.html>


More information about the cs631apue mailing list