# Rclone always copies contents separately?

**URL:** <https://forum.rclone.org/t/rclone-always-copies-contents-separately/615>\
**Category:** Help and Support\
**Created:** [January 3, 2017, 7:57am UTC](https://forum.rclone.org/t/rclone-always-copies-contents-separately/615 "2017-01-03T07:57:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![green](https://forum.rclone.org/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@green](https://forum.rclone.org/u/green)\
**Post date:** [January 3, 2017, 7:57am UTC](https://forum.rclone.org/t/rclone-always-copies-contents-separately/615/1 "2017-01-03T07:57:02Z")

</div>

i have the following structure:

/source/  
/source/file\_a  
/source/a\_dir/file\_b  
/source/b\_dir/file\_c

i am testing the following command:

find /home/user/testing/source/ -maxdepth 1 ! -type l -print0 | xargs -I {} -0 rclone --ask-password=false --no-traverse --ignore-existing --transfers=6 copy {} amazon:testing/destination/

and I end up with:  
/destination/file\_a  
/destination/file\_b  
/destination/file\_c

when what I want is

/destination/file\_a  
/destination/a\_dir  
/destination/b\_dir

any advice on what I am doing wrong?

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [January 3, 2017, 1:45pm UTC](https://forum.rclone.org/t/rclone-always-copies-contents-separately/615/2 "2017-01-03T13:45:05Z")

</div>

You need to include the directory on the destination to get the behaviour you want.

However if you use `-files-from` you’ll get what you want, with the added bonus of it working faster

something like

```auto
cd /home/user/testing/source/
find . -maxdepth 1 ! -type | sed 's,^\./,,' > /tmp/files-from-list
rclone --ask-password=false --ignore-existing --transfers=6 --files-from /tmp/files-from-list copy /home/user/testing/source/ amazon:testing/destination/

```

(note that `--files-from` implies `--no-traverse`)

---

<div class="post-metadata">

**Author:** ![green](https://forum.rclone.org/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@green](https://forum.rclone.org/u/green)\
**Post date:** [January 4, 2017, 6:16am UTC](https://forum.rclone.org/t/rclone-always-copies-contents-separately/615/3 "2017-01-04T06:16:17Z")

</div>

looks good. i will definitely use --files-from thanks

---

<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:35am UTC](https://forum.rclone.org/t/rclone-always-copies-contents-separately/615/4 "2020-03-04T00:35:14Z")

</div>

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


