WSL 2020-09-06 Linux visited: 目录 Make it started when you start your Windows 回到顶部 Make it started when you start your Windowswsl-ubuntun.vbs - 开机自启 12Set ws = CreateObject("Wscript.Shell")ws.run "C:\Users\guo\AppData\Local\Microsoft\WindowsApps\ubuntu1804.exe run sudo /etc/init.wsl", vbhide /etc/init.wsl 1234#! /bin/sh/etc/init.d/ssh restart/etc/init.d/mysql restart/etc/init.d/cron restart 1234567sudo chmod a+w "R"# 递归查找视频文件并移动,指定遍历最小深度为 2, 当前目录忽略find . -mindepth 2 -type f | grep -ZP "\.(MP4|mkv|mov|mp4|wmv)$" | awk '{ printf $0"\0" }' | xargs -I R -0 -n 1 sudo mv "R" video/# 递归查找图片文件并移动,指定遍历最小深度为 2, 当前目录忽略find . -mindepth 2 -type f | grep -P "\.(JPG|jpg|png|jpeg|gif|raw)$" | awk '{ printf $0"\0" }' | xargs -I R -0 -n 1 sudo mv "R" ./picture Linux