# Rclone and Team Drive Limitations

I am going to use rclone to take all of our data form our Server 2012 server and upload it to team drives but i need it to do a check first to make sure that there are no folders deeper than 20 folders as Team Drives has this limitation. As well 400K files and folder limit. Is there a way to test this before a move?

Well, it isn’t very elegant, but this will find any files which are more than 20 folders deep

rclone lsf -R --files-only --include "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/**" C:\path\to\dir


Experiment with it - put a few less /* to make sure it does what you want!

2 Likes

LOL hey of it works out works, I just want to test before I do an upload because any files or foldres more then 20 deep Google just puts into the root of the drive. As you could imagine it would be a mess!!

1 Like