# Hadd for .root\* files on macos

**URL:** <https://root-forum.cern.ch/t/hadd-for-root-files-on-macos/60449>\
**Category:** ROOT\
**Created:** [August 7, 2024, 4:32pm UTC](https://root-forum.cern.ch/t/hadd-for-root-files-on-macos/60449 "2024-08-07T16:32:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bethlong06](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bethlong06/32/22982_2.png) [@bethlong06](https://root-forum.cern.ch/u/bethlong06)\
**Post date:** [August 7, 2024, 4:32pm UTC](https://root-forum.cern.ch/t/hadd-for-root-files-on-macos/60449/1 "2024-08-07T16:32:28Z")

</div>

Continuing the discussion from [Change to hadd that breaks previously working code](https://root-forum.cern.ch/t/change-to-hadd-that-breaks-previously-working-code/60126):

I have a similar problem on macos: I have a load of files named `file.root.1, file.root.2` etc.  
If I do `hadd -f output.root *.root*` on macos it gives me the error `hadd could not validate argument "file.root.0" as input file`, while if i do the same process on the lxplus linux servers there’s no problem…

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [August 8, 2024, 5:39am UTC](https://root-forum.cern.ch/t/hadd-for-root-files-on-macos/60449/2 "2024-08-08T05:39:54Z")

</div>

Hi,

Thanks for the post.  
To unblock you fast, I think a workaround has been provided [here](https://root-forum.cern.ch/t/change-to-hadd-that-breaks-previously-working-code/60126/6).

What versions of ROOT do you have on linux and on macos?

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![bethlong06](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bethlong06/32/22982_2.png) [@bethlong06](https://root-forum.cern.ch/u/bethlong06)\
**Post date:** [August 8, 2024, 11:04am UTC](https://root-forum.cern.ch/t/hadd-for-root-files-on-macos/60449/3 "2024-08-08T11:04:57Z")

</div>

Hi Danilo, thanks for the quick reply and the signposting.

On mac I’m running 6.32.00 whereas on linux I have 6.26.08. Looking at the other post it actually seems it might just be the version that’s the problem!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [August 22, 2024, 11:04am UTC](https://root-forum.cern.ch/t/hadd-for-root-files-on-macos/60449/4 "2024-08-22T11:04:58Z")

</div>

Closed on August 22, 2024, 11:04am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
