Usage
m365 file list [options]
Description
Retrieves files from the specified folder and site
Options
-u, --webUrl <webUrl>
The URL of the site where the folder from which to retrieve files is located
-f, --folder <folder>
The server- or site-relative URL of the folder from which to retrieve files
-r, --recursive
Set to retrieve files from subfolders
Additional Info
This command is an improved version of the spo file list command. The main difference is that it's based on MS Graph and properly supports working with large folders, which isn't supported in spo file list #2704. The usage of the command should be similar, eg. users can pass the URL of the site and folder and we resolve them internally to the necessary Graph objects to get a reference of the folder and retrieve all files.
Usage
m365 file list [options]
Description
Retrieves files from the specified folder and site
Options
-u, --webUrl <webUrl>The URL of the site where the folder from which to retrieve files is located
-f, --folder <folder>The server- or site-relative URL of the folder from which to retrieve files
-r, --recursiveSet to retrieve files from subfolders
Additional Info
This command is an improved version of the
spo file listcommand. The main difference is that it's based on MS Graph and properly supports working with large folders, which isn't supported inspo file list#2704. The usage of the command should be similar, eg. users can pass the URL of the site and folder and we resolve them internally to the necessary Graph objects to get a reference of the folder and retrieve all files.