Tag:Directory name
-
Time:2021-1-21
1、 Open CMD mode Click start, find the windows system, expand and select the command prompt Win key + R key, enter CMD in the open pop-up box, and click OK Select the folder, hold down the shift key, right-click and select here to open the shell window Enter CMD in the address bar of […]
-
Time:2020-10-7
This article introduces a shell script that can batch add numbers to multiple directory names. Suppose the name of the shell script isdigitname.sh。 In the actual development work, the number will be added in front of the commonly used important catalog. For example, name the directory in the form of “1-development document” and “2-department document”. […]
-
Time:2020-9-26
Only the subdirectory names under the specified directory are listed Only subdirectory names are listed in the LS command In Linux,lsBy default, the command lists all file names in the given directory, including subdirectory names. If you only want to list the subdirectory names under the current directory, you can use thels -d */Command. Specific […]
-
Time:2020-9-24
1 Overview Use the jar and Java provided by JDK to print a single java file into an executable jar package and run it.Of course, you can also use ide. You only need a simple package to use maven, but you don’t need to be so “fierce” for a single file. 2 new test file […]
-
Time:2020-9-15
os.path.abspath(path) Enter relative path and return absolute path Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type “copyright”, “credits” or “license()” for more information. >>> import os >>> print(os.path.abspath(“.”)) C:\Users\28914\AppData\Local\Programs\Python\Python37 os.path.basename(path) Returns the name of the file or directory at the end of the path. String processing alone does […]
-
Time:2020-7-30
In the Linux command,findIt’s a more complicated and difficult command to use. When you use this command to search files, you often find that you can find some examples to use, but you can’t find the desired results with a little change of conditions. Here are some examples to illustrate the use offindKey points and […]
-
Time:2020-6-24
os.path.abspath(path) Enter relative path, return absolute path Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type “copyright”, “credits” or “license()” for more information. >>> import os >>> print(os.path.abspath(“.”)) C:\Users\28914\AppData\Local\Programs\Python\Python37 os.path.basename(path) Returns the file or directory name at the end of the path. String processing alone does not control whether […]
-
Time:2020-5-29
hi Hello, everyone welcome I have been following the trend for a long time. Let’s go on to the previous section Let’s start to build this project in this section Let’s go to the terminal first, command line prompt here Let’s add an empty directory and name it yourself $ mkdir antd-pro-role For example, my […]
-
Time:2020-5-5
order This paper mainly studies the blobwriter of Flink BlobWriter flink-release-1.7.2/flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobWriter.java /** * BlobWriter is used to upload data to the BLOB store. */ public interface BlobWriter { Logger LOG = LoggerFactory.getLogger(BlobWriter.class); /** * Uploads the data of the given byte array for the given job to the BLOB server and makes it * a […]
-
Time:2020-2-11
Give an absolute path to a file in UNIX style, you need to simplify it. Or, in other words, convert it to a canonical path. In UNIX style file systems, a dot (.) represents the current directory itself; in addition, two dots (..) represent switching the directory to the next level (pointing to the parent […]
-
Time:2019-8-21
Copy codeThe code is as follows: set fso=wscript.createobject(“scripting.filesystemobject”) OldFolderName1=”263 Enterprise Messenger”newFolderName1=”Peacemap Messenger”OldFileName1 = “263 Enterprise Messenger.lnk”newFileName1 = “Peacemap Messenger.lnk”OldFileName2 = Unload 263 Enterprise Messenger. lnkNewFileName2 = Unload Peacemap Messenger. lnk Original path= “C: Documents and Settings All Users Start menu Program”New path= “C: Documents and Settings All Users Start menu Program Peacemap Messenger”Deskpath= “C: Documents […]