# Rclone excluding files

**URL:** <https://forum.rclone.org/t/rclone-excluding-files/8142>\
**Category:** Help and Support\
**Created:** [December 31, 2018, 6:07pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142 "2018-12-31T18:07:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kangfat](https://forum.rclone.org/letter_avatar_proxy/v4/letter/k/f07891/32.png) [@kangfat](https://forum.rclone.org/u/kangfat)\
**Post date:** [December 31, 2018, 6:07pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/1 "2018-12-31T18:07:39Z")

</div>

For some reason rclone isn’t copying some files to my gdrive. My setup hasn’t changed in a while and it just started doing this randomly this past week. I have no idea what it is about these specific files that are causing this. I ran a copy using the -vv option and the log is below. Any ideas/suggestions?

2018/12/31 12:46:02 DEBUG : Movies/The Fire Within (1963)/The Fire Within 1963 Bluray-720p.mkv: Excluded from sync (and deletion)  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E02 - Ordinary People DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E17 - Seconds DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E13 - The Dad Who Came in from the Cold DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E07 - Ultra Woman DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E20 - It’s a Small World After All DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E01 - We Have a Lot to Talk About DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E08 - Chip Off the Old Clark DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E19 - Oedipus Wrecks DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E06 - Don’t Tug on Superman’s Cape DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E12 - Never on Sunday DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E11 - Home Is Where the Hurt Is DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E21 - Through a Glass, Darkly DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E14 - Tempus, Anyone DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E09 - Super Mann DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E04 - When Irish Eyes Are Killing DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E18 - Forget Me Not DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E03 - Contact DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E22 - Big Girls Don’t Fly DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E16 - Double Jeopardy DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E05 - Just Say Noah DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : TV Shows/Lois & Clark- The New Adventures of Superman/Season 3/Lois & Clark- The New Adventures of Superman - S03E10 - Virtually Destroyed DVD.avi: Excluded  
2018/12/31 12:47:27 DEBUG : Movies/Police Story 2 (1988)/Police Story 2 1988 Bluray-720p.mkv: Excluded

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [December 31, 2018, 6:10pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/2 "2018-12-31T18:10:08Z")

</div>

What’s the full command you are running to do that?

What version are you running?

---

<div class="post-metadata">

**Author:** ![kangfat](https://forum.rclone.org/letter_avatar_proxy/v4/letter/k/f07891/32.png) [@kangfat](https://forum.rclone.org/u/kangfat)\
**Post date:** [December 31, 2018, 6:12pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/3 "2018-12-31T18:12:11Z")

</div>

Command:  
rclone move --transfers 15 /home/plex/.local-decrypt/ plexdrive:Videos -vv --fast-list --min-age 1m --exclude /.unionfs-fuse/\*\* --log-file /home/plex/logs/move-test.log &

Version:  
rclone v1.44-029-g04a0da1f-beta

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [December 31, 2018, 6:20pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/4 "2018-12-31T18:20:01Z")

</div>

I’d move to the latest stable.

What’s the ls -al on the files look like? Do they have an odd timestamp on them?

Can you run with -vvv and get all the output for them?

---

<div class="post-metadata">

**Author:** ![kangfat](https://forum.rclone.org/letter_avatar_proxy/v4/letter/k/f07891/32.png) [@kangfat](https://forum.rclone.org/u/kangfat)\
**Post date:** [December 31, 2018, 6:22pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/5 "2018-12-31T18:22:16Z")

</div>

I’ve updated to latest and will run the command again with vvv It shouldn’t take too long to complete.

---

<div class="post-metadata">

**Author:** ![kangfat](https://forum.rclone.org/letter_avatar_proxy/v4/letter/k/f07891/32.png) [@kangfat](https://forum.rclone.org/u/kangfat)\
**Post date:** [December 31, 2018, 6:33pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/6 "2018-12-31T18:33:05Z")

</div>

I updated and ran with -vvv but I got the same results. I did run ls -al and I believe the timestamps are the issue:

 ![image](https://forum.rclone.org/uploads/default/original/2X/8/8cbb5a72840a8a1257d85248aef597b1926b8b34.png)

Any easy way to fix this?

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [December 31, 2018, 6:34pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/7 "2018-12-31T18:34:51Z")

</div>

The min-age 1m is the guy that’s causing it as the files are from the future 🙂

What OS are you running?

Assuming you have permissions to the files and the date is right, I think you can just touch them to update the timestamp.

```auto
felix@gemini:/etc$ ls -al hosts
-rw-r--r-- 1 root root 345 Sep 2 16:00 hosts
felix@gemini:/etc$ sudo touch hosts
felix@gemini:/etc$ ls -al hosts
-rw-r--r-- 1 root root 345 Dec 31 13:34 hosts
felix@gemini:/etc$ date
Mon Dec 31 13:34:48 EST 2018

```

---

<div class="post-metadata">

**Author:** ![kangfat](https://forum.rclone.org/letter_avatar_proxy/v4/letter/k/f07891/32.png) [@kangfat](https://forum.rclone.org/u/kangfat)\
**Post date:** [December 31, 2018, 6:44pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/8 "2018-12-31T18:44:41Z")

</div>

Looks like touch is exactly what I needed to do. I ran touch on the files, re-ran my command, and now it’s transferring them. I don’t even remember why I put the min-age in my command but maybe I should consider removing it

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [December 31, 2018, 6:47pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/9 "2018-12-31T18:47:58Z")

</div>

I was going to ask, but figured you had a reason.

I run my sync without any of those (I use a copy but really the same thing). If rclone detects the file is being modified, it won’t copy/sync it and it will toss an error.

So for me, no reason to use it in my use case.

Happy you got it working!

---

<div class="post-metadata">

**Author:** ![kangfat](https://forum.rclone.org/letter_avatar_proxy/v4/letter/k/f07891/32.png) [@kangfat](https://forum.rclone.org/u/kangfat)\
**Post date:** [December 31, 2018, 6:51pm UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/10 "2018-12-31T18:51:30Z")

</div>

For some reason just doing touch on one of the files still didn’t let it copy over. I just removed the min-age and it worked. ¯\_(ツ)\_/¯

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 4, 2020, 12:50am UTC](https://forum.rclone.org/t/rclone-excluding-files/8142/11 "2020-03-04T00:50:13Z")

</div>

Closed on March 4, 2020, 12:50am UTC


