8/11/2023 0 Comments Sym link![]() It is a remaster of the other project - create-symlink for more details see. It could be called by right-clicking on selected folders or files and selecting Quick Symlink from the contextual menu. The Quick Symlink is a Finder Extension which allows to create symbolic links of selected folders or files. ossutil64 create-symlink oss://testbucket/testobject.png oss://testbucket/exampleobject.png -e -i LTAI4Fw2NbDUCV8zYUzA**** -k 67DLVBkH7EamOjy2W5RVAHUY9H****įor more information about other common options, see Common options.The Quick Symlink is a Finder extension which provides a contextual menu item for the symbolic links (and other links) creation on macOS. If you use ossutil to switch to a bucket that belongs to another Alibaba Cloud account, you can add the -i option to the command to specify the AccessKey ID of the specified account, and add the -k option to the command to specify the AccessKey secret of the specified account.įor example, you can run the following command to create a symbolic link named testobject.png that points to an object named exampleobject.png in a bucket named testbucket, which is located in the China (Shanghai) region and owned by another Alibaba Cloud account. If you use ossutil to switch to a bucket that is located in another region, add the -e option to the command to specify the endpoint of the region in which the specified bucket is located. 0.106744(s) elapsedĪfter you create a symbolic link, you can run the read-symlink or stat command to query the information about the symbolic link, such as the ETag value and last update time. If a similar output is displayed, the symbolic link is created.Specify that all fees incurred when the command is run are paid by the requester./ossutil64 create-symlink oss://examplebucket/destfolder/example.jpg oss://examplebucket/test.jpg -payer requester Create a symbolic link named example.jpg in the destfolder directory of a bucket named examplebucket and point the symbolic link to an object named test.jpg in the root directory of examplebucket.Create a symbolic link named test.jpg in the root directory of a bucket named examplebucket and point the symbolic link to an object named exampleobject.jpg in the root directory of examplebucket./ossutil64 create-symlink oss://examplebucket/test.jpg oss://examplebucket/exampleobject.jpg.Important If the name of the symbolic link you want to create is the same as that of an existing symbolic link, the existing symbolic link is overwritten. The following examples show how to create a symbolic link that points to an existing object. To determine whether the object to which a symbolic link points exists, run the ls command to query all objects in the bucket. If the object does not exist, the created symbolic link cannot access the object. ![]() If the object exists, the created symbolic link can access the object. When you run this command to create a symbolic link, ossutil does not check whether the object to which the symbolic link points to exists. If you want that the requester who accesses the resources in the specified path charged for the traffic and request fees incurred when the command is run, set this parameter to requester. The payer of the traffic and request fees incurred when the command is run. If you do not specify this parameter, the object names are not encoded. The method used to encode the object names specified in cloud_url and target_object. A symbolic link and the object to which the symbolic link points must be in the same bucket. The full path of the object to which the symbolic link points. The full path of the symbolic link you want to create. The following table describes the parameters that you can configure in this command. ossutil64 create-symlink cloud_url target_object ossutil64 in the commands with the corresponding binary name. Important Sample command lines in this topic are based on the 64-bit Linux system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |