Windows 10 version 1803 – strange behaviour when opening folders containing TypeScript files

Windows never stop surprising me with its strange behaviours.

This time, after I updated to v. 1803 (build 17134.706) I have this annoying thing when opening folders containing TypeScript files, explorer takes a bit to load the list (even if it is very small) and when done it displays the files as Large Icons instead of Details

enter image description here

Has anybody else experienced this issue?

aws s3 sync – skip “system” folders on windows

I’m attempting to use aws s3 sync to push a bunch of backup files from my Windows server to an s3 bucket. The problem that I’m running into is that it appears to be picking up the Recycle Bin and System Volume Information. Unfortunately, it’s unable to traverse into those directories and so ultimately the command exits with a non-zero status.

Here’s what I’m trying as my command line:

aws s3 sync X:\Backup\ s3://«my bucket name» --exclude '*$  RECYCLE.BIN\*' --exclude "System Volume Information\*"  --exclude '*.trn' --include '*.bak' 

I’ve tried several variations of the --exclude parameter but to no avail.

google drive script to notify when folders have been added to or deleted from, then send an email to members, using only bcc

Here is my spreadsheet link https://docs.google.com/spreadsheets/d/17lMF21eGGmwBOgzM0jN84TIGAigLZV9ZkJDr1NouOJ0/edit#gid=0

Here is my code link https://script.google.com/d/MJK8om_WH8sfiN5xxZqmE2S51ztMsFRcz/edit?mid=ACjPJvGBKC2uMzrHw-l9y_oLkSXDYbZKm6Zxz1BVhHofH5wp0GB39K-scbfUGEM90xxq-69v-sKJOVBFGR0Mu-17_sSLTEoY0hYyvnBjTOlD6CIEJ2MjDKOLstxT2EWhHWrC7DAclknSWA&uiv=2

This is my code for Mailapp send MailApp.sendEmail("********@gmail.com", "New   Message Report", "", {bcc: email, htmlBody: row }); } The variable email is obtained from var   email = sheet.getRange("E1").getValue();  But I get an error on the MailApp line, due to the bcc: email code If I remove this line and replace it with MailApp.sendEmail("*********@gmail.com",  "New Message Report",  {htmlBody: row });  It works perfectly, but of course all the multiple email are sent to the 'To' filed in the email and can be seen by everyone.  How can I use bcc with email variable, I do not want to use something like  bcc: 'this_is_auser@his_email.com' 

Robocopy exclude folders if no files will be copied (using filter by files)

I’m using ROBOCOPY \source c:\dest file1.txt file2.txt file3.txt /PURGE /XO /FFT /S

I need to only copy these certain files, but they will appear several times in a lot of subdirectories within the root directory, e.g.

  • \source\dir1\file1.txt
  • \source\dir2\dir3\file1.txt
  • \source\dir2\dir3\dir4\file2.txt

The problem I have is that there are other subdirectories that do not have a match to any of the files that need to be copied, and robocopy still copies the directory to destination (as empty).

E.g.

  • \source\dir2\dir3\dir4\someotherdir\someotherdir2 are along file2.txt

Robocopy will copy file2.txt to:

  • c:\dest\dir2\dir3\dir4\file2.txt (which is correct)

But it will also copy empty directories:

  • c:\dest\dir2\dir3\dir4\someotherdir and
  • c:\dest\dir2\dir3\dir4\someotherdir\someotherdir2

These subdirectories do have files in the source, but none of the files match the filter, so ROBOCOPY is not copying any of the source files of these subdirectories to the destination (which is correct), but still copying the actual subdirectory as empty.

How can I tell ROBOCOPY to avoid copying these subdirectories (without the need to add a list of directories to exclude)? – as the list will be very long and it will be unpredictable if new subdirectories are created that do not contain files that match

How is the samba recycle bin supposed to work with deleted folders?

vfs object = recycle in smb.cfg works fine for deleted files. Yet, how is the samba recycle bin function supposed to work for folders?

I made the following observations:

with option recycle:keeptree = Yes

1 – delete a file – will move it to the recycle bin, preserving the original folder structure

2 – delete a folder which contains a file – will move it, and the files beneath to the recycle bin, preserving the original folder structure

3 – delete a folder which contains no files – folder disappears, nothing in the recycle bin

without option recycle:keeptree = Yes

4 – delete a file – will move it to the recycle bin without folder structure

5 – delete a folder which contains a file – folder and files disappear, nothing in the recycle bin

6 – delete a folder which contains no files – folder disappears, nothing in the recycle bin

Question: Are cases 3,5 and 6 as per design?

Thanks Dan

rsync verbose print folders with strange characters

Using rsync -avh the list of folders stops printing when getting to a directory ls calls ''$ '20''퓬ƒTƒ“ƒvƒ‹' (badly encoded Japanese text that doesn’t appear to be EUC-JP, ISO-2022-JP, or SHIFT_JIS). However it seems like rsync continues transferring, just not displaying. How can I get rsync to continue printing information?

Deleting System folders data/system/useres/0

I wanted to delete my wallpaper on my android 7 TV-box, but when I used some file explorer for this purpose, it could deleted some important file(s) by mistake in /data/system/users/0 which I could not restore them. I could not install any data recovery from google play either.

Now I cannot use my keyboard properly or download apps from google play and many other personal settings are not as the way they were before…

How can I restore system files /data/system/users/0 just like the way it was?

Should I use factory reset at last???

adb shell push image to recent or downloads folders not on sdcard

I want to push images to one of this folders:

enter image description here

with shell command. But file only appears on sdcard folder

My last tries was:

adb push C:\Users\User\Pictures\girl.jpg /data/media/0/Pictures/ adb push C:\Users\User\Pictures\girl.jpg /sdcard/Pictures adb push C:\Users\User\Pictures\girl.jpg /storage/emulated/0/Pictures 

Automate arranging files into folders based on beginning of file name?

Looking to quickly arrange a whole load (talking about multiple thousands) of files into subfolders, and the files come in sets of three (left audio, right audio, video) separate files. Not experienced in terminal really but messed around in Automator before.

Example:

00015_A01.mxf 00015_A02.mxf 00015.mxf 00016_A01.mxf 00016_A02.mxf 00016.mxf

I want to automate it so that finder looks for files with matching first characters, and puts them in a sub folder (preferably with the name of that file but I’ve managed a workaround for that.)

So the result would be:

[00015] (folder) 00015_A01.mxf 00015_A02.mxf 00015.mxf

[00016] (folder) 00016_A01.mxf 00016_A02.mxf 00016.mxf

Any ideas? I checked around on here but the answers were a bit over my head…

Any help really appreciated folks!