Login
You're viewing the y.diskcat.com public feed.
  • Aug 25, 2026, 10:48 AM

    #LinuxHelp #BASH
    I need a bit handholding to do something that i dont understand
    I need to build a command that starting from one directory lists me recursively every file in that directory, when i have this running i will replace echo with cp for mass copying

    Tutorials on the web all show something
    for file in /usr/media/USBSTICK/* ; do echo "$file" ; done

    But that is wrong, it lists me files and directories in that place, what i need instead is recursively listing all files with full path

    💬 0🔄 0⭐ 0