خرید بک لینک

I have a folder that has several folders with ISOs in each. Some names of the files and folders have spaces. Here is an example folder structure:

/ISOs

-CentOS

--Centos6

---Centos6_x64.iso

---Centos6_x86.iso

-Windows_10_Pro

--Windows_10_Pro.iso

-Windows 10 Enterprise

--Windows 10 Enterprise.iso

Commands tried:

find /mnt/fs1/Shares/Software$/ISOs/ -name *.iso | xargs ln -sf /mnt/fs2/Shares/Images$/proxmox/template/iso

and

for file in "$(find /mnt/fs1/Shares/Software$/ISOs/ -name *.iso)"; do ln -sf /mnt/fs2/Shares/Images$/server/template/iso/$file;

With the use of the above commands, it will create links to the files, but leaves out anything that has a space in either the name of the folder/sub folder or the name of the file:

/iso

-Centos6_x64.iso

-Centos6_x86.iso

-Windows_10_Pro.iso

What is the best way for me to list out all files contained in this folder?

- - , .

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 5 اسفند 1394 ساعت: 3:35

صفحه بندی