Setting folder size
In KM how to set the size of the folder,in order to Restrict the user in entering the large amount of the data?
If you have a disk thay offers a filesystem with 10 GB and you create a directory in this dilesystem than it could contain up to 10 GB (which includes your 300 MB).
So, in essence just create a directory in a filesystem (or disk in Windows) that is large enough to contain the 300 MB.
cu
Andreas
Similar Messages
-
How to set the size of folder in KM
Hi everyone,
This is Nagaraja.........i am new to SAP Enterprise Portal and
I have created a folder in Knowledge Management and i want to
restrict the number of files uploaded into that folder by enduser.
i.e., i want to set the size of the folder.
can you please help me in doing this task.
Thank you.Hi Nagaraja,
welcome to SCN!
You posted a common question here in the KM forums and I will try to update it into the Wiki. If you search for this topic you will find similar answers like: Restricting the folder size of the KM Repositories pointing to the existing Weblog.
Hope this answers your question,
Robert -
Sccm Client Cache folder size growing instead of limit set
Hi Everyone.
Greetings.
We have noticed that in our sccm environment, the cache folder size (under CCM path) in clients keeps increasing but however it should not as i believe the older contents automatically to be removed while downloading new contents.
The cache folder to download the contents as by default set to 5GB and we haven't modified anything on that.
Please suggest us on this as it would be much appreciated.
Thanks in advance
Regards,
ThangarajHi Jason,
Yes. However we are using software distribution as well.
We noticed recently this large size CCM folder (19GB) in one of our server as C drive is running out of space.
But when i looked at the contents inside that CCMCache folder, below are the findings.
The content size of all the advertisements are around 18GB.
The content size of software updates are around 1GB.
MS KB patches, Service packs are pushed through software advertisement(present inside folder named as package ID. So it cannot be considered as software updates deployment right?
Please suggest. Thanks.
Regards,
Thangaraj -
Setting a folder size??
Hi there,
This is my first time to install OCS; the doc says that the TMP env. variable has to refere to a directory with 300mb of free space; originally, how can I create or set a folder size on windows??
thanks alot.If you have a disk thay offers a filesystem with 10 GB and you create a directory in this dilesystem than it could contain up to 10 GB (which includes your 300 MB).
So, in essence just create a directory in a filesystem (or disk in Windows) that is large enough to contain the 300 MB.
cu
Andreas -
How to set folder windows size not to change?
Hi,
I'm having a problem with displaying folder sizes in the finder, I open my applications folder, centre it, stretch it to display how I like, use the view options for icon size, spacing etc; great, just how I like it.
Trouble is, when I next open the folder it is centred but much smaller! Is threre a way to keep it as I want?
Thanks in advance :0)
BThe Buffster wrote:
Hi,
I'm having a problem with displaying folder sizes in the finder, I open my applications folder, centre it, stretch it to display how I like, use the view options for icon size, spacing etc; great, just how I like it.
Trouble is, when I next open the folder it is centred but much smaller! Is threre a way to keep it as I want?
Thanks in advance :0)
Have you clicked "use as defaults" at the bottom of the preference window? -
How to set the size for height of iView tray?
Hi,
I have created a ABAP webdynpro component and integrated this comp with iView. Then i integrated iView into Page in portal. That is working fine.
But the size of tray/window which is displayed in the page is very small.
How to increase the height of that Tray/window/iView containing my component?Hi,
By changing the maximum automatic height and Minimum automatic height property of the iview you can set the size for height of your iview.
to do this follow the setps:
goto content administrator -> portal content -> your folder where you created your iview or directly to your iview -> right click -> open -> object,
and now in property category choose appearance-Size from the drop down menu and set the above properties to your required height.
if you want the end user to modify this property set the property to read/write .
*********please reward points if the information is helpful to you******************** -
Is there a way to set target size in Compressor
I know this may be too general of a question, but i'd really like to find a way to set the size of a compressed file. I have to upload videos to and online host server and my max is 1.5 GB. right now i have to fool around and try different codecs to see how big they are and sometimes i have 20-30 minute videos. and it's pretty poor work flow to wait an hour to encode only to find out that it's way tpp small or way too big.
also any suggestions on which codec i should use to upload videos from 15 seconds to 30 minutes with a 1.5 GB size cap would be great
thanksI'll answer your first question first.
Best codec for quality is H.264, one good settings folder is the following:
Settings tab>Apple>Other workflows>Web>QT7 compatible>Pick your H.264 setting (For flv you'll need a third party plugin or software).
You want to know how big your file is going to be before encoding?
Choose your setting. Set your preferred bit rate then in Inspector window click on the "summary" button (first from left before the encoder button).
Look carefully through the listed info, there you'll find out what the estimated file size is. If you change bit rate again the estimated size will change too.
G. -
Share Point folder size limit - File Services
I created a new folder inside a share point using Server Admin. Is there a way to set a folder size limit (quota) for that folder.
P.S. I am NOT talking about user accounts quotas for home folders created using Workgroup Manager! ...Just any new folder created, to be used on any volume, is there a way to set a mamimum size?
For example I have a 1TB volume on my Xserve RAID. I create a new folder but want to set its maximum capacity to 200GB. Is that possible?
Thank you very much in advance for any feedback.There's no direct way to set a limit on a folder size.
The 'simplest' method I can think of is to create partitions on your disk of the appropriate sizes and share these - they will have inherent size limits based on the size of the partition. It's a little messier but should solve your issue.
:: thinking :: you might be able to use disk images rather than partitions, although I've never tried sharing a mounted disk image, and you'd need to address automounting the disk images when the server starts, so it might not be viable. -
Folder size is twice that of its contents????
Startup Disk > Users > Username
My Username folder shows a folder size that is just about double the size of all of its visible folders. I can see this when viewed in the Finder in List View with Folder Size Shown as my default View setting. Any idea how I can figure out what is going on?
thanks
BradTopher,
Before I saw your reply, I emptied my trash and that brought the folder size down to what it should be to match its contents. I should have remembered that. None the less, I did what you suggested once I read your message and here it is:
total 2240
drwxr-xrwx 34 brad 503 1156 Feb 27 16:13 .
drwxr-xr-x 7 root admin 238 Dec 1 08:00 ..
-r-------- 1 brad 503 7 Dec 1 07:48 .CFUserTextEncoding
-rw-r--r--@ 1 brad 503 12292 Mar 1 16:22 .DS_Store
drwx------ 5 brad 503 170 Mar 1 16:42 .Trash
drwxr-x--x 4 brad 503 136 Apr 19 2011 .adobe
drwxr-xr-x@ 3 brad 503 102 Apr 27 2011 .autodesk
-rw------- 1 brad 503 546 Feb 15 2012 .bash_history
drwxr-xr-x 6 brad 503 204 Aug 28 2014 .blurb
drwx------ 3 brad 503 102 Feb 27 2014 .cache
drwxr-xr-x 4 brad 503 136 Feb 27 2014 .config
drwx------ 3 brad 503 102 Dec 6 2010 .cups
-rw-r--r-- 1 brad 503 1109647 Sep 23 2011 .fonts.cache-1
drwxr-xr-x 2 brad 503 68 Jun 18 2013 .gs5
drwxr-xr-x 3 brad 503 102 Sep 6 2011 .local
-rw-r--r-- 1 brad 503 239 Sep 6 2011 .mailcap
-rw-r--r-- 1 brad 503 368 Sep 6 2011 .mime.types
drwxr-xr-x 3 brad 503 102 Dec 18 2012 .viewcd
-rw-r--r-- 1 brad 503 90 Apr 17 2013 .vuescanrc
drwxr-xr-x 8 brad 503 272 Jun 26 2014 .wapi
drwxr-xr-x 4 brad 503 136 Dec 4 12:23 Applications
drwx------@ 3 brad 503 102 Dec 20 11:44 Creative Cloud Files
drwx---rwx@ 40 brad 503 1360 Mar 1 16:48 Desktop
drwx---rwx+ 7 brad 503 238 Nov 12 18:30 Documents
drwx------+ 3 brad 503 102 Feb 20 16:42 Downloads
drwx------@ 4 brad 503 136 Feb 22 22:43 Google Drive
drwxrwxr-x 5 brad admin 170 Dec 7 18:07 Incompatible Software
drwx------+ 66 brad 503 2244 Mar 1 15:07 Library
drwx------+ 5 brad 503 170 Sep 21 19:42 Movies -
Hi, everyone.
When I use command-F to search in Finder, the Folder Size option doesn't seem to work at all. Whenever I type some number (ie, greater than 1 kb), nothing was found. Is this function broken? Nor does the Size of Application or the File pathname work also.
Thanks for any suggestions.Hi Tempura
I believe that both Mike and I haven't yet to experience a corrupt index. Certainly in one case, I initiated it myself.
Although there appears a number have, if you analyse the postings, you find that more than not, the issues are not related to corrupt indexes.
Many issues are simply not understanding Spotlight, setting the Preference pane improperly, not letting Spotlight do a proper and complete indexing, messing around with the System prefs, not running Disk Utility to repair permissions after installing, updating or revising applications and the OS, insufficient ram, trying to index CDs, DVDs, servers, etc.
Personally, I find Spotlight amazing fast and accurate except when I have forgotten that I had adjusted the Preferance pane. I have tested various third-party products, and have tossed them out. Not that I don't share their unique functionalities, I just haven't found it to be advantageous to have them on board. Note that if you do install any third-party app, check to see how it may affect Tiger and all its utilities. There are some that will reset the preferences including Spotlight's and its ability to index.
If you haven't as yet, Apple and The XLab (the book especially) have some great stuff on Spotlight that is well worth reading. I say this, because no doubt, Spotlight is not going away and the introduction of Leopard will advance it even further, e.g., as described (http://www.apple.com/macosx/leopard/spotlight.html), and certainly in Time Machine.
Good luck
Daniel -
Hi there,
I've created an encrypted folder but have since run out of space in it. Is there any way to increase the size of the folder without having to delete it and start from scratch?
Cheers,
Matt
Message was edited by: drawinglinesYou can resize a diskimage using Terminal.
example:
hdiutil resize -size 80m testenc.dmg
This increases the size of testenc.dmg to 80 Mbytes
Open Terminal and type
hdiutil resize -size
set the size as per the format above, and then drag the .dmg file into Terminal to set the path.
Press return. -
It would be helpful when in folder view to be able to see the size of the folder - I fill folders until they are a DVD-worth and then archive and create a new folder (DAM approach). Currently I have to go to windows to see the size and then back to Bridge to decide what to do next.
A folder size indication when folder on Content panel + perhaps a right click to give properties etc. as per Windows.This is about as minimal as Finder lets it get -
As far as I can tell that arrangement is displayed only when viewing the Desktop.
Finder uses a slightly longer one for a window whose view is set to Icon -
...and the one I posted previously for windows whose view is set to List.
In Finder, there is actually only one View Options display and it is live; what is shown in it will change as you change the view mode for a window, and also will change to reflect the choices/settings if you click on a different window.
Perhaps Path Finder has altered how that behaves. However, try some experimenting. Open the View Options display, and then try navigating into a nest of folders. Try highlighting different things in the Path Finder displays - the name of a folder in a list, the name of a column display, etc. At some point you may be able to access the long form for the particular folder's window.
On the other hand, Path Finder seems to act by changing how Finder's info is displayed. In doing so, it may also be interfereing with Finder's ability to present applicable choices in the View Options screen (perhaps because Finder is not coded to understand Path Finder). If you determine that is indeed the case, suggest you send a 'bug' report back to the publisher, explaining the problem and asking them to fix it in a future release of Path Finder. -
How can I set the preferences to calculate the size of folders on the hard drive?
Hi Dave,
You can see the folder sizes in List View.
While in List View, under the View Menu, select "Show View Options",
then check the boxes for "Size" and "Calculate all sizes"
Note while in List view, you can then sort by size by clicking on the Size column header. You can also reverse the sort by clicking it again. This works with any column header.
Ivan -
Folder Size in Explorer, Windows 7
Dear Readers:
I would like to know if Windows 7 includes the option to view Folder Size in the Explorer window interface (an option similar to viewing [file] Size)? I have attempted to use various software to do this in Windows Vista such as Tree Size Professional but the help files say that Windows Vista does not allow viewing of Folder Sizes in Explorer.
Sincerely,
pencilineFor those who like to roll their own, this VB Script code will work with Windows 7 and show a simple list with folders and sizes from a cmd prompt. You can specify the depth. It's very fast. Run with no parameters for instructions.
' ====================================================================
' DirSize7.vbs
' Used to display dir sizes in Windows 7 or XP.
' To Use: cscript DirSize7.vbs C:\temp 4
' Where:
' First parm = The dir to start with (default = script dir)
' Second parm = number of child dirs to display (default = 4)
' 2010/7/20 - Tom Woodgerd - Upgraded from DirSizeXP. Added code to handle folders with no access.
' ====================================================================
option explicit ' Require declaration of variables.
Dim arrArgs
Dim strTopDir
Dim numDepth
Dim iii
Dim strEOL
Dim strTab
Dim ws
Dim fso
Dim strFolder
Dim arrFolderCollection1
Dim arrFolderCollection2
Dim arrFolderCollection3
Dim arrFolderCollection4
Dim strDisp
Dim strF1
Dim strF2
Dim strF3
Dim strF4
Dim strRootFolder
Dim int_strF1Size
Set ws = WScript.CreateObject ("Wscript.Shell")
strEOL = chr(10) & chr(13)
strTab = chr(9)
Set fso = CreateObject("Scripting.FileSystemObject")
' --------------- Get command line arguments.
Set arrArgs = WScript.Arguments
' --------- Get folder from command line or if none, the script dir.
If arrArgs.Count > 0 Then
strTopDir = arrArgs(0)
Else
strTopDir = fso.GetParentFolderName(Wscript.ScriptFullName)
End If
' --------- Get depth from command line or default = 4.
If arrArgs.Count > 1 Then
numDepth = arrArgs(1)
If numDepth > 4 Then
numDepth = 4
End If
Else
numDepth = 4
End if
If arrArgs.Count > 0 Then
WScript.Echo "====================================================================++======"
WScript.Echo "DirSize7: Starting From: " & strTopDir & " Depth = " & numDepth
WScript.Echo ""
WScript.Echo "=========================================================(Ver 7/20/2010)===="
Else
WScript.Echo "======================================================================++===="
WScript.Echo "DirSize7: Starting From: " & strTopDir & " Depth = " & numDepth
WScript.Echo ""
WScript.Echo " Useage: cscript dirsize7.vbs D:\temp 3"
WScript.Echo " Where:"
WScript.Echo " Starting Directory = D:\temp"
WScript.Echo " Deepest folder to display = 3 (up to 4 max)"
WScript.Echo ""
WScript.Echo "==========================================================(Ver 7/20/2010)==="
End If
' --------- Main Loop ---------------------------------------------
Set strFolder = fso.GetFolder(strTopDir)
If Not strFolder.IsRootFolder then
int_strF1Size = 0
On Error Resume Next
int_strF1Size = strFolder.size
If int_strF1Size = 0 then '--- See if we have access.
WScript.Echo "----No Access---- " & strFolder
WScript.quit
Else
WScript.Echo f_AddCommas(strFolder.size), " "& strFolder
end if
End If
Set arrFolderCollection1 = strFolder.SubFolders
For Each strF1 in arrFolderCollection1
int_strF1Size = 0
On Error Resume Next
int_strF1Size = strF1.size
If int_strF1Size = 0 then '--- See if we have access.
WScript.Echo " ----No Access---- " & strF1
Else
WScript.Echo f_AddCommas(strF1.size), " "& chr(28)&" "& strF1
If numDepth >= 2 Then '----------------------------- Start of 2nd level
Set strFolder = fso.GetFolder(strF1)
Set arrFolderCollection2 = strFolder.SubFolders
For Each strF2 in arrFolderCollection2
WScript.Echo f_AddCommas(strF2.size), " "& chr(28)&" "& strF2
If numDepth >= 3 Then '----------------------- Start of 3rd level
Set strFolder = fso.GetFolder(strF2)
Set arrFolderCollection3 = strFolder.SubFolders
For Each strF3 in arrFolderCollection3
WScript.Echo f_AddCommas(strF3.size), " "& chr(28)&" "& strF3
If numDepth >= 4 Then '----------------- Start of 4th level
Set strFolder = fso.GetFolder(strF3)
Set arrFolderCollection4 = strFolder.SubFolders
For Each strF4 in arrFolderCollection4
WScript.Echo f_AddCommas(strF4.size), " "& chr(28)&" "& strF4
Next
End If '--------------------------------- End of 4th level
Next
End If '----------------------------------- End of 3rd level
Next
End If ' ---------------------------------- End of 2nd Level
End if
Next
' -------------------------- Format a numeric string with commas
Function f_AddCommas(parmStr)
Dim strTemp
' ---- Drop the ".00"
strTemp = left(formatcurrency(parmStr), Instr(formatcurrency(parmStr), ".")-1 )
strTemp = mid(strTemp,2) ' Drop the $
f_AddCommas = space(15-len(strTemp)) & strTemp
End Function -
Get folder size error 800A004C
I am trying to make a script Counts the size of a folder.
I am getting a vbs error "Path not found" 800A004C on line 19 (Q = Q + F.size)
dim oFS, oFolder
set oFS = WScript.CreateObject("Scripting.FileSystemObject")
set oFolder = oFS.GetFolder("E:\NEW-backup\")
set qFS = WScript.CreateObject("Scripting.FileSystemObject")
set logFolder = qFS.GetFolder("E:\Backup Logs\")
ShowFolderDetails oFolder
sub ShowFolderDetails(oF)
dim F
dim Q
dim antalGB
dim attachment
dim subject
Q=0
for each F in oF.Subfolders
Q = Q + F.Size
Next
antalGB = "Dagens backup fylder: " + FormatNumber(((Q/1024)/1024)/1024, 2) + " GB" + "\n\nMvh\n"
If I run the script on E:\Backup instead of E:\NEW-backup I get no errors.
Please help I am a noob to scriptingIf you can try in PowerShell - the below sample code may help you - THis returns folder size in MB
function Get-FolderSize
param ( [String]$Path )
$FileSystemObject = New-Object -com Scripting.FileSystemObject
$folders = (Get-Childitem $path | ? {$_.Attributes -eq "Directory"})
foreach ($folder in $folders)
$folder | Add-Member -MemberType NoteProperty -Name "SizeMB" –Value(($FileSystemObject.GetFolder($folder.FullName).Size) / 1MB)
$folders | sort -Property SizeMB -Descending | select fullname,@{n=’Size MB’;e={"{0:N2}" –f $_.SizeMB}}
Get-FolderSize -Path C:\Temp\
You may get some insight / help for your code as well!
Regards Chen V [MCTS SharePoint 2010]
Maybe you are looking for
-
808 camera guide / tips / tricks
Does anyone know where they is a good internet site explaining exactly how to use the 808's camera and all its features? Its probably me being stupid but i cant seem to get great photos from my 808, infact id say my N8 takes better photos if you have
-
Microsoft Calendar – BB Z30 Fix – Well it worked for me!
I am an avid MS Outlook user on my home PC and where I am based at work (I'm freelance). I chose my Z30 because I have owned BB’s before and they were excellent with synchronising to Outlook, but had strayed to Apple then Samsung but found my way bac
-
Hyperlinks in table component? Data processing before display?
Hi all! I have following problem to solve - I have some database tables I need to show on a page. Creating a DataProvider and using it works really fine even with parameters in my query. But I have some columns with data that needs processing after f
-
How do I upload an image using as3 and display it without a server?
Is it possible to upload an image using as3 and flash player 9 and then display it in a movie clip without server side assistance? thanks, JB
-
Help me Please Regarding XmlBeans
Hello, While using xmlbeans I faced a problem.Can any body help me to solve it. I am using xmlbean version 2.2 and jdk1.5. I created .jar file by compiling .xsd file.But while running .java file an error had occured like " cannot access org.apache.xm