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

Linux - inotifywait: Removing two or more files/directories at the same time reports only one deletion. #44

Closed
jiraz2112114 opened this issue Feb 24, 2015 · 2 comments
Labels

Comments

@jiraz2112114
Copy link

I am monitoring a directory recursively for deletion event.
As an example, If I am monitoring a directory "test" which has two sub-directories "sub-dir1" and "sub-dir2". Test cases below:

  1. rm -rf sub-dir1 reports the deletion event alright.
  2. rm -rf sub-dir2 reports the deletion event alright as well.

Problem:

  1. rm -rf sub-dir1 sub-dir2 reports deletion of sub-dir1 only, not both.
  2. rm -rf sub-dir2 sub-dir1 reports deletion of sub-dir2 only, not both.
@jiraz2112114 jiraz2112114 changed the title Linux: Removing two or more files/directories reports only one deletion. Linux - inotifywait: Removing two or more files/directories reports only one deletion. Feb 24, 2015
@jiraz2112114 jiraz2112114 changed the title Linux - inotifywait: Removing two or more files/directories reports only one deletion. Linux - inotifywait: Removing two or more files/directories at the same time reports only one deletion. Feb 24, 2015
@813gan
Copy link
Contributor

813gan commented Apr 17, 2018

I'm unable to reproduce this. inotify-tools-3.20.1, kernel 4.9.94.

@github-actions
Copy link

We are clearing up our old issues and your ticket has been open for 2 years with no activity. Remove stale label or comment or this will be closed in 30 days.

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

No branches or pull requests

2 participants