Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 903431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:52:37+00:00 2026-05-15T15:52:37+00:00

Maybe I’m missing something, but when I type do a verbose ditto command (

  • 0

Maybe I’m missing something, but when I type do a verbose ditto command (ditto [-v] [-V] 2>>some.log), it will send regular output to stderr. Therefore, my some.log file will be filled with entries like copying file ....

This doesn’t make logical sense to me, but it’s what the manual says as well:

-V            Print a line of output to stderr for every file, symbolic
              link, and device copied.

I haven’t verified this, but I assume that actual I/O errors are sent to stdout. My original want was to display regular output, but log all errors. So assuming that errors are sent to stdout, then this problem isn’t really much of a problem – it’s just that the semantics don’t make sense to me.

So, this should give me the correct outputs:

ditto -V /some/path/ /some/other/path 1>>some.log
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:52:37+00:00Added an answer on May 15, 2026 at 3:52 pm

    Actually, ditto sends both error messages and verbose status messages to stderr. The reason is that if it’s in -c (create archive) mode, and the destination file was specified as -, it writes the archive to stdout. Having status messages mixed in with the archive would be very very bad. BTW, tar -v does the same thing, for the same reason.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe I'm missing something obvious, or maybe something sinister is happening, but this seems
Maybe this is something I am just missing, but is there any way to
Maybe I am missing something, but they seem similar. If you use for example...
Maybe I'm missing something but why does visual studio break execution to tell me
Maybe I am missing something entirely simple here, but in any new windows form
Maybe I misunderstood the layout_weight parameter but I can't get it why something like
Maybe this is gonna sound naive and all, but is there something even remotely
Maybe it's too late in Germany (1:04AM) or maybe I'm missing something... How can
Maybe I missed something really obvious but this code doesn't work: <pre> <?php print_r(($progress));
Maybe the title is confusing, but I will try to explain with examples: Given

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.