Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI validation turns non-bag directory into a bag and returns "true" #21

Open
nodanaonlyzuul opened this issue Oct 11, 2016 · 0 comments

Comments

@nodanaonlyzuul
Copy link
Contributor

Steps to Reproduce

$ echo "I'm just some text" > ~/Desktop/plain-old-directory/humble.txt

$ bagit validate ~/Desktop/plain-old-directory
true

$ ls -al ~/Desktop/plain-old-directory/
total 24
drwxr-xr-x   6 myname  staff  204 Oct 10 21:24 .
drwx------+ 27 myname  staff  918 Oct 10 21:21 ..
-rw-r--r--   1 myname  staff  107 Oct 10 21:24 bag-info.txt
-rw-r--r--   1 myname  staff   55 Oct 10 21:24 bagit.txt
drwxr-xr-x   2 myname  staff   68 Oct 10 21:24 data
-rw-r--r--   1 myname  staff   19 Oct 10 21:24 humble.txt

I'd expect this to not turn a previously non-bag directory into a bag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant