All Questions
12
questions
1
vote
1
answer
2k
views
Batch Script to delete certain files inside subfolders of a main subfolder
My problem is this
I have an extensive collection of pictures spanning several sub-folders (I'm talking of several hundred of folders, not a few), under a main folder, as example:
Birthdays
Mom
...
0
votes
3
answers
1k
views
Recursively remove a character from folders in Windows
Given a folder structure:
---- folder1#name
--------- folder2#name
---- folder3#name
--------- folder4#name
------------ folder5#name
------------ folder6#name
------------ folder7#name
I want to ...
0
votes
0
answers
267
views
Add attribute to a file/folder
I tried that to add an attribute to a file/folder
Get-ChildItem '$PATH' -Recurse | foreach{$_.Attributes = $_.Attributes + 'Compressed'}
Problem is that it create a cycle like that : Not compressed &...
0
votes
2
answers
2k
views
7z - compress files in sub-directory, name them for parent folder
I'm trying to compress a folder structure like so:
Root
|_ Folder
|_Sub Folder 1
|_Files
|_Sub Folder 2
|_Files
|_ *more Sub Folders*
I need to create .zip file ...
1
vote
1
answer
1k
views
search and copy files from a directory structure by reading a text file
I have a folder with many subfolders and files in them. I have a text file with the names of the files that I want copied to a separate destination folder. The filenames in the text file do not have ...
6
votes
2
answers
14k
views
How to recursively copy and rename files in the same directory using Windows command line
I'd like to avoid using a batch file, if possible.
Based on this answer to a question about recursive renaming or moving, I've came up with the following command (for copying all files named web.foo....
2
votes
1
answer
11k
views
Recursively process zip archives to extract files while discarding specific format of files
UPDATE: I noticed that many people are viewing this thread, which makes me believe that this situation is not so rare after all. Anyway, I had asked a similar/related question on SO here, which has ...
0
votes
2
answers
5k
views
How to recursively zip every file in each folder?
I am trying to write a batch script that when run into a folder, it takes all the files in this folder and zip them into one, then takes the remaining folders and looks into them and do the same, ...
7
votes
10
answers
15k
views
List all files and dirs without recursion with junctions
Is there a native|portable tool that can give me a unicode or a system local-compatible list of all files and directories under a path recursively, without recursing into junction points or links, in ...
0
votes
1
answer
1k
views
How to Unzip files recursively in Linux / DOS
I have a zipped folder which contains thousands of zipped folders contained in itself and that goes down the hierarchy, I have to unzip each and every file and place it in a single folder.
This task ...
2
votes
2
answers
6k
views
Windows CMD command to run a command inside every subdirectory?
I have a batch script I wrote called "joiner.bat." It needs to run inside each of 730 sub-directories of a folder. The joiner.bat file has already been copied into each of the sub-folders, it just ...
6
votes
4
answers
6k
views
Mass Checksumming tool for Windows?
I'm looking for a command line tool for windows that will go over a directory tree (recursively) and output a list of all the files in there, and a checksum for each file (can be CRC, MD5, whatever).
...