# File dependency to detect deleted or renamed files

**URL:** https://www.finalbuilder.com/forums/t/file-dependency-to-detect-deleted-or-renamed-files/3727
**Category:** Feature Requests
**Created:** [August 9, 2006, 5:35am UTC](https://www.finalbuilder.com/forums/t/file-dependency-to-detect-deleted-or-renamed-files/3727 "2006-08-09T05:35:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 9, 2006, 5:35am UTC](https://www.finalbuilder.com/forums/t/file-dependency-to-detect-deleted-or-renamed-files/3727/1 "2006-08-09T05:35:46Z")

</div>

Hi guys,

Can you modify the File dependency action so that there is the \*option\* for the action to detect deleted and renamed files since the last time it ran the check. For example suppose I have specified the following criteria to check for files:

D:\FbTest\AnotherFolder\*.txt

If a text file (.txt) has been deleted subsequent to the previous run then the File dependency action should cause its child actions to execute.  
  
Thanks  
Christian

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [August 10, 2006, 1:07am UTC](https://www.finalbuilder.com/forums/t/file-dependency-to-detect-deleted-or-renamed-files/3727/2 "2006-08-10T01:07:36Z")

</div>

Christian,  
  
Thanks for this suggestion. I’ve put it on our to-do list for a future version.  
  
We may, in fact, make a “Folder Dependency” action which simply detects whether or not a folder has changed since the last time the action was run. Does this sound like it would do the trick?  
  
- Angus

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 15, 2006, 3:35am UTC](https://www.finalbuilder.com/forums/t/file-dependency-to-detect-deleted-or-renamed-files/3727/3 "2006-08-15T03:35:26Z")

</div>

Hi Angus,  
Sorry I didn’t get back to you sooner.  
  
If you mean that this new action will recursively detect changes to the file content of the folder, then yes this would definitely be helpful.  
  
Another idea: for the ultimate in flexibility for detecting changes, a Dependency action that would accept a FileSet would seem to fit nicely 🙂  
  
Christian
