Timeline for Copy files from a source folder recursively to destination/*file_extension*(ex. "txt") folder
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 29, 2018 at 21:57 | answer | added | kazioX | timeline score: 0 | |
| Aug 29, 2018 at 0:23 | comment | added | kazioX | link It's 10 in my case, ignoring the situation when there is a space in the name. I'm positive that's not the problem. When I copy the files in the home directory it all works great. | |
| Aug 28, 2018 at 18:40 | comment | added | kazioX | It's a recursive function of course I'm calling it inside, that is the point. The $10 is the 10th column in ls -l, which is the file name itself. I think that the "cp $1/$f $HOME/$2/$dest" command is not working like I want it to work. If you just test the program you will see what the problem is. | |
| Aug 28, 2018 at 18:25 | comment | added | RudiC | Sure $10 is the correct file name? What if file names contain spaces? | |
| Aug 28, 2018 at 18:16 | review | First posts | |||
| Aug 28, 2018 at 18:17 | |||||
| Aug 28, 2018 at 18:15 | history | asked | kazioX | CC BY-SA 4.0 |