New answers tagged cp
So why not just cp -Rv [SRC] [DEST] | grep -v [EXCLUDE]
The cannot stat... output is actually being send to stderr, not stdout. For the specific example you provide in the question, the following will suppress the error output by redirecting stderr to /dev/null: cp -rf Functional Functionalssssssss 2>/dev/null As well, at least for the version of cp on my Debian Linux server, -f is not a universal ...
If you are using bash or sh(posix standard), [ -f file ] && cp file target is what you want. This one will check if the file exists and copy it. Say goodbye to errors.
I found the problem (or at least a solution). It seems my computer is not able to deliver as much power to my GPU as its supposed to; I rewrote /sys/class/drm/card0/gt_max_freq_mhz, which is the file that sets the max frequency for my Intel GPU. It was 1300Mhz, and now with 1000Mhz everything seems stable.
Note that there is a command-line trick (works in, at least, sh, bash, and ksh): Just suffix the from directory with a slash. This will pour the contents of the from directory into the to directory (ironically, I had first learned about this trick when using rsync). Example: /tmp$ mkdir test_dir1 /tmp$ cd test_dir1/ /tmp/test_dir1$ touch aa /tmp/test_dir1$ ...
You should run a cpu stress tester such as Prime95 to rule out an issue with the cpu fan. This would generate a lot of heat without stressing the graphics card and if your laptop survives a few minutes it is safe to say the CPU fan is working properly. Depending on how the secondary graphics card is implemented it is possible it might not show up as a device ...
Top 50 recent answers are included