e.....n konto usunięte 24.06.2019, 12:22:28 19 Dobrze spędzony czas w pracy xD#humorinformatykow źródło: comment_HrNA0bhSMcjdAytUviXtvLKKqQzxIHWJ.jpg teluch noichunoiczesc na_rowerze_samochodem_360 mtriciak33 mati1990 +14 innych
t.....c konto usunięte 24.06.2019, 15:25:28 3 @farmaceut: Nie wiem czy faworyzuje Linuxa ale w jakimkolwiek shellu Windowsowym wyrywam sobie włosy z głowy.Jak sprawdzić jakie procesy używaja plik? (Stack overflow)Linux: lsof I grepWindows: Use this script (4 linijki) Kubeusz89 konto usunięte zernica-ovh
farmaceut farmaceut 24.06.2019, 15:34:40 3 @thrnuc: przeciez jasne jest, ze unix > gunfo > windows DamiDami Kubeusz89 frex
G.....1 konto usunięte 27.06.2019, 13:35:57 1 @thrnuc: jak polaczyc plik?linux: cat 1 2 > proszCMD: copy /b 1 + 2 proszpowershell:##script.ps1##param( [string]$inpath, [string]$outpath)Get-ChildItem -path $inpath -recurse |?{ ! $_.PSIsContainer } |?{($_.name).contains(".txt")} | %{ Out-File -filepath $outpath -inputobject (get-content $_.fullname) -Append}##script.ps1###then run this#.\script.ps1 "c:\users" "c:\test.txt" Marcek123
#humorinformatykow
Jak sprawdzić jakie procesy używaja plik? (Stack overflow)
Linux: lsof I grep
Windows: Use this script (4 linijki)
Komentarz usunięty przez autora
linux: cat 1 2 > prosz
CMD: copy /b 1 + 2 prosz
powershell:
##script.ps1##
param(
[string]$inpath,
[string]$outpath
)
Get-ChildItem -path $inpath -recurse |?{ ! $_.PSIsContainer } |?{($_.name).contains(".txt")} | %{ Out-File -filepath $outpath -inputobject (get-content $_.fullname) -Append}
##script.ps1##
#then run this
#.\script.ps1 "c:\users" "c:\test.txt"