List file using ls command in Linux with full path

前端 未结 13 1620
星月不相逢
星月不相逢 2020-12-24 01:02

Many will found that this is repeating questions but i have gone through all the questions before asked about this topic but none worked for me.

I want to print full

13条回答
  •  生来不讨喜
    2020-12-24 01:28

    The ls command will only print the name of the file in the directory. Why not do something like

    print("/mnt/mediashare/net/192.168.1.220_STORAGE_1d1b7/" + i)

    This will print out the directory with the filename.

提交回复
热议问题