Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    That specific error suggests that the editor you wrote the script in added Windows-style (CRLF) line endings Commented Jun 7, 2019 at 15:52
  • good catch, thank you. though even once I fix that, it still doesn't do what I want. I've edited my question to clarify this. Commented Jun 7, 2019 at 15:57
  • Is the location of the userinfo.csv file identical relative to each user? Is it always /path/to/users/*/userinfo.csv or it can be at any depth under the /path/to/users/ folder? Commented Jun 7, 2019 at 15:59
  • 1
    What do you think $("dir") does? Commented Jun 7, 2019 at 15:59
  • @deimos yes it will always be /path/to/users/*/userinfo.csv and @choroba I now realize that $("dir") is the full directory so of course renaming it as such wouldn't have worked. Commented Jun 7, 2019 at 16:01