New command: remove file
See original GitHub issueRemove the specified file
- command:
spo file remove -w|--webUrl <webUrl> -i|--id [id] -u|--url [url] --recycle --confirm - webUrl: The URL of the site where the file is located
- id: id of the file to remove
- url: server- or site-relative URL of the file to remove
- recycle: move the file to the recycle bin instead of permanently deleting it
- confirm: don’t prompt before removing the file
- specify either the ID or the URL of the file to check in but not both
- requires connection to a SharePoint site
For more information see the Remove-PnPFile cmdlet
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
git rm - Removing files in Git | Learn Version Control with Git
The "rm" command helps you to remove files from a Git repository. It allows you to not only delete a file from the...
Read more >macros - (parser related) removing \newcommand and ...
I am trying to remove all \newcommand s, \renewcommand s, \newenvironment s and \newenvironment s in Latex files without any structural and ...
Read more >Remove-Item (Microsoft.PowerShell.Management)
This command deletes a file that is both hidden and read-only. ... It uses the Path parameter to specify the file. It uses...
Read more >Bash Commands to Manage Directories and Files - Earth Lab
delete files ( rm ) and directories ( rm -r ); copy files ( cp ) and directories ( cp -r ) to...
Read more >Linux / UNIX delete a file using rm command - nixCraft
To remove or delete a file or directory in Linux, FreeBSD, Solaris, macOS, or Unix-like operating systems, use the rm command or unlink ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just sent a PR for this command.
Excellent!