[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rm on file with spaces in name
From: |
Dan Jacobson |
Subject: |
Re: rm on file with spaces in name |
Date: |
Wed, 03 Aug 2022 07:47:25 -0500 |
>>>>> "MA" == Michael Albinus <michael.albinus@gmx.de> writes:
MA> Why that? Please use one of
MA> $ adb shell touch '/sdcard/file with spaces in name'
MA> $ adb shell touch /sdcard/file\ with\ spaces\ in\ name
$ adb shell touch '/sdcard/1-file with spaces in name'
touch: 'with': Read-only file system
touch: 'spaces': Read-only file system
touch: 'in': Read-only file system
touch: 'name': Read-only file system
$ adb shell touch /sdcard/2-file\ with\ spaces\ in\ name
touch: 'with': Read-only file system
touch: 'spaces': Read-only file system
touch: 'in': Read-only file system
touch: 'name': Read-only file system
$ adb shell touch '/sdcard/3-file\ with\ spaces\ in\ name'
$ adb shell ls -l /sdcard/
-rw-rw---- 1 root everybody 0 2022-08-03 07:44 1-file
-rw-rw---- 1 root everybody 0 2022-08-03 07:45 2-file
-rw-rw---- 1 root everybody 0 2022-08-03 07:45 3-file with spaces in name
Samsung Android 12